diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-12-29 15:15:45 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-12-30 11:50:17 -0300 |
commit | 2f83eaa05eeeaf009589b994c8e9a2feb1867260 (patch) | |
tree | 4b033d950bb275e8dece58feb54fa0a20ea1378b | |
parent | 201840632f4bb361d3ff87819b844dfd9d93e36f (diff) |
Fixed symbol export on win32 platform.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r-- | generatorrunnermacros.h | 3 |
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 |