summaryrefslogtreecommitdiffstats
path: root/depends/rainbow/include/rainbow_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'depends/rainbow/include/rainbow_config.h')
-rw-r--r--depends/rainbow/include/rainbow_config.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/depends/rainbow/include/rainbow_config.h b/depends/rainbow/include/rainbow_config.h
index 0699795c..ccd500ed 100644
--- a/depends/rainbow/include/rainbow_config.h
+++ b/depends/rainbow/include/rainbow_config.h
@@ -15,8 +15,12 @@
#include <QtCore/QtGlobal>
-#ifdef RAINBOW_LIBRARY
-#define RAINBOW_EXPORT Q_DECL_EXPORT
+#ifdef RAINBOW_STATIC
+ #define RAINBOW_EXPORT
#else
-#define RAINBOW_EXPORT Q_DECL_IMPORT
-#endif
+ #ifdef RAINBOW_LIBRARY
+ #define RAINBOW_EXPORT Q_DECL_EXPORT
+ #else
+ #define RAINBOW_EXPORT Q_DECL_IMPORT
+ #endif
+#endif \ No newline at end of file