diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-05-06 20:18:58 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-06 20:18:58 +0300 |
commit | f0529dacedf7da83f8d5107a8ca7d73f35560894 (patch) | |
tree | a3aa2f614c6409aeac839882c0ef7d74c931aa19 /gnumake.h | |
parent | a668c520b2aa80aef8eb6c71c7507e48e111a2ae (diff) | |
download | gunmake-f0529dacedf7da83f8d5107a8ca7d73f35560894.tar.gz |
Rearrange dllimport/dllexport declarations for MS-Windows.
gnumake.h (GMK_EXPORT) [_WIN32]: Move the dllexport declaration
here from makeint.h.
makeint.h (GMK_BUILDING_MAKE) [WINDOWS32]: Define before
including gnumake.h.
Diffstat (limited to 'gnumake.h')
-rw-r--r-- | gnumake.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,7 +28,9 @@ typedef struct #ifdef _WIN32 -# ifndef GMK_EXPORT +# ifdef GMK_BUILDING_MAKE +# define GMK_EXPORT __declspec(dllexport) +# else # define GMK_EXPORT __declspec(dllimport) # endif #else |