summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_base/ftnoir_protocol_base_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_base/ftnoir_protocol_base_global.h')
-rw-r--r--ftnoir_protocol_base/ftnoir_protocol_base_global.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ftnoir_protocol_base/ftnoir_protocol_base_global.h b/ftnoir_protocol_base/ftnoir_protocol_base_global.h
new file mode 100644
index 00000000..06386c7f
--- /dev/null
+++ b/ftnoir_protocol_base/ftnoir_protocol_base_global.h
@@ -0,0 +1,16 @@
+#ifndef FTNOIR_PROTOCOL_BASE_GLOBAL_H
+#define FTNOIR_PROTOCOL_BASE_GLOBAL_H
+
+#include <QtGlobal>
+
+#ifndef OPENTRACK_MAIN
+# 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
+
+#endif // FTNOIR_PROTOCOL_BASE_GLOBAL_H