diff options
Diffstat (limited to 'ftnoir_filter_base')
-rw-r--r-- | ftnoir_filter_base/ftnoir_filter_base_global.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ftnoir_filter_base/ftnoir_filter_base_global.h b/ftnoir_filter_base/ftnoir_filter_base_global.h index ce112411..a1a13315 100644 --- a/ftnoir_filter_base/ftnoir_filter_base_global.h +++ b/ftnoir_filter_base/ftnoir_filter_base_global.h @@ -4,7 +4,11 @@ #include <QtGlobal> #ifndef OPENTRACK_MAIN -# define FTNOIR_FILTER_BASE_EXPORT Q_DECL_EXPORT +# if !defined(_MSC_VER) +# define FTNOIR_FILTER_BASE_EXPORT __attribute__ ((visibility ("default"))) +# else +# define FTNOIR_FILTER_BASE_EXPORT Q_DECL_EXPORT +#endif #else # define FTNOIR_FILTER_BASE_EXPORT Q_DECL_IMPORT #endif |