aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-12-29 15:15:45 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-12-30 11:50:17 -0300
commit2f83eaa05eeeaf009589b994c8e9a2feb1867260 (patch)
tree4b033d950bb275e8dece58feb54fa0a20ea1378b
parent201840632f4bb361d3ff87819b844dfd9d93e36f (diff)
Fixed symbol export on win32 platform.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
-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