aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generatorrunnermacros.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/generatorrunnermacros.h b/generatorrunnermacros.h
index 65b3d4953..4c1c9df90 100644
--- a/generatorrunnermacros.h
+++ b/generatorrunnermacros.h
@@ -31,13 +31,15 @@
#else
#define GENRUNNER_API __declspec(dllimport)
#endif
+ // dont worry about deprecated functions under windows
+ #define GENRUNNER_DEPRECATED
#else
#if __GNUC__ >= 4
#define GENRUNNER_API __attribute__ ((visibility("default")))
#else
#define GENRUNNER_API
#endif
+ #define GENRUNNER_DEPRECATED __attribute__ ((deprecated))
#endif
-#define GENRUNNER_DEPRECATED __attribute__ ((deprecated))
#endif