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 c68f328d3..f76f24e38 100644
--- a/generatorrunnermacros.h
+++ b/generatorrunnermacros.h
@@ -27,10 +27,10 @@
// GENRUNNER_API is used for the public API symbols.
#if defined _WIN32 || defined __CYGWIN__
#define GENRUNNER_EXPORT __declspec(dllexport)
- #if GENRUNNER_BUILD
+ #if GENRUNNER_EXPORTS
#define GENRUNNER_API GENRUNNER_EXPORT
#else
- #define GENRUNNER_API __declspec(dllimport)
+ #define GENRUNNER_API
#endif
// dont worry about deprecated functions under windows
#define GENRUNNER_DEPRECATED