aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-11-21 15:51:10 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-11-21 15:51:10 -0200
commit7abd582fb9b75a1b5b11f8ea2b954bde5ec9e4ff (patch)
tree3d07dc72798e23015edd09b23335847b0e920229
parent5f1029fae1172331fe8e110ba0302b338f6712f6 (diff)
Fix macros about dllexport/dllimport.
-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