aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generatorrunnermacros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generatorrunnermacros.h b/generatorrunnermacros.h
index 49b506ab0..1ca6a6bea 100644
--- a/generatorrunnermacros.h
+++ b/generatorrunnermacros.h
@@ -33,10 +33,11 @@
#elif __GNUC__ >= 4
#define GENRUNNER_EXPORT __attribute__ ((visibility("default")))
#define GENRUNNER_API GENRUNNER_EXPORT
+#elif __GNUC__ < 4
+ #define GENRUNNER_EXPORT
#endif
#ifndef GENRUNNER_API
- #define GENRUNNER_EXPORT
#define GENRUNNER_API
#endif
#endif