summaryrefslogtreecommitdiff
path: root/makeint.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-06 20:18:58 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-06 20:18:58 +0300
commitf0529dacedf7da83f8d5107a8ca7d73f35560894 (patch)
treea3aa2f614c6409aeac839882c0ef7d74c931aa19 /makeint.h
parenta668c520b2aa80aef8eb6c71c7507e48e111a2ae (diff)
downloadgunmake-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 'makeint.h')
-rw-r--r--makeint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/makeint.h b/makeint.h
index 14a6c26..6bff07a 100644
--- a/makeint.h
+++ b/makeint.h
@@ -49,10 +49,10 @@ char *alloca ();
/* Include the externally-visible content.
Be sure to use the local one, and not one installed on the system.
- Define GMK_EXPORT for proper selection of dllexport/dllimport declarations
- for MS-Windows. */
+ Define GMK_BUILDING_MAKE for proper selection of dllexport/dllimport
+ declarations for MS-Windows. */
#ifdef WINDOWS32
-# define GMK_EXPORT __declspec(dllexport)
+# define GMK_BUILDING_MAKE
#endif
#include "gnumake.h"