diff options
-rw-r--r-- | ftnoir_tracker_base/ftnoir_tracker_base_global.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/ftnoir_tracker_base/ftnoir_tracker_base_global.h b/ftnoir_tracker_base/ftnoir_tracker_base_global.h index a529da78..e717d845 100644 --- a/ftnoir_tracker_base/ftnoir_tracker_base_global.h +++ b/ftnoir_tracker_base/ftnoir_tracker_base_global.h @@ -3,14 +3,16 @@ #include <QtGlobal> -#ifndef OPENTRACK_MAIN -# if !defined(_MSC_VER) -# define FTNOIR_TRACKER_BASE_EXPORT __attribute__ ((visibility ("default"))) -# else -# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_EXPORT -#endif -#else -# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_IMPORT +#ifndef FTNOIR_TRACKER_BASE_EXPORT +# ifndef OPENTRACK_MAIN +# if !defined(_MSC_VER) +# define FTNOIR_TRACKER_BASE_EXPORT __attribute__ ((visibility ("default"))) +# else +# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_EXPORT +# endif +# else +# define FTNOIR_TRACKER_BASE_EXPORT Q_DECL_IMPORT +# endif #endif #endif // FTNOIR_TRACKER_BASE_GLOBAL_H |