diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 22:23:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-10 22:23:52 +0100 |
commit | 340194f133dfd6988188234c3be14bf5ec53923e (patch) | |
tree | 452472fce5c804f7a8dfd11f95d0a9b21d34a427 /ftnoir_protocol_base | |
parent | 5aa211aa60f9e83290ecba889548b73f3d01e287 (diff) |
hopefully fix apple
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_protocol_base')
-rw-r--r-- | ftnoir_protocol_base/ftnoir_protocol_base_global.h | 6 |
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 |