diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-01 12:17:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-01 12:17:27 +0100 |
commit | b2bd39a926aa338796ceb2ef606fea70b5eb0333 (patch) | |
tree | 02aa54a5a190dc481ae34782d9cfa71513fe2e34 | |
parent | ee363beaf5a51b21c952cba14d818018b3855f18 (diff) |
prevent redefinition warning
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-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 |