summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_base
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_base')
-rw-r--r--ftnoir_protocol_base/ftnoir_protocol_base_global.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ftnoir_protocol_base/ftnoir_protocol_base_global.h b/ftnoir_protocol_base/ftnoir_protocol_base_global.h
index bed874c4..06386c7f 100644
--- a/ftnoir_protocol_base/ftnoir_protocol_base_global.h
+++ b/ftnoir_protocol_base/ftnoir_protocol_base_global.h
@@ -4,7 +4,11 @@
#include <QtGlobal>
#ifndef OPENTRACK_MAIN
-# define FTNOIR_PROTOCOL_BASE_EXPORT Q_DECL_EXPORT
+# if !defined(_MSC_VER)
+# define FTNOIR_PROTOCOL_BASE_EXPORT __attribute__ ((visibility ("default")))
+# else
+# define FTNOIR_PROTOCOL_BASE_EXPORT Q_DECL_EXPORT
+#endif
#else
# define FTNOIR_PROTOCOL_BASE_EXPORT Q_DECL_IMPORT
#endif