aboutsummaryrefslogtreecommitdiffstats
path: root/generatorrunnermacros.h
diff options
context:
space:
mode:
Diffstat (limited to 'generatorrunnermacros.h')
-rw-r--r--generatorrunnermacros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generatorrunnermacros.h b/generatorrunnermacros.h
index 8f801f06d..65b3d4953 100644
--- a/generatorrunnermacros.h
+++ b/generatorrunnermacros.h
@@ -27,9 +27,9 @@
// GENRUNNER_API is used for the public API symbols.
#if defined _WIN32 || defined __CYGWIN__
#if GENRUNNER_BUILD
- #define GENRUNNER_API __declspec(dllimport)
- #else
#define GENRUNNER_API __declspec(dllexport)
+ #else
+ #define GENRUNNER_API __declspec(dllimport)
#endif
#else
#if __GNUC__ >= 4