summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptools_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cpptools_global.h')
-rw-r--r--src/plugins/cpptools/cpptools_global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptools_global.h b/src/plugins/cpptools/cpptools_global.h
index 57b5dbab70..b30e9e2919 100644
--- a/src/plugins/cpptools/cpptools_global.h
+++ b/src/plugins/cpptools/cpptools_global.h
@@ -35,6 +35,8 @@
#if defined(CPPTOOLS_LIBRARY)
# define CPPTOOLS_EXPORT Q_DECL_EXPORT
+#elif defined(CPPTOOLS_STATIC_LIBRARY)
+# define CPPTOOLS_EXPORT
#else
# define CPPTOOLS_EXPORT Q_DECL_IMPORT
#endif