diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sensors/qsensorsglobal.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/sensors/qsensorsglobal.h b/src/sensors/qsensorsglobal.h index 3037370f..72b3902e 100644 --- a/src/sensors/qsensorsglobal.h +++ b/src/sensors/qsensorsglobal.h @@ -44,30 +44,14 @@ #include <QtCore/qglobal.h> -#if defined(Q_OS_WIN) -# if defined(QT_NODLL) -# undef QT_MAKEDLL -# undef QT_DLL -# elif defined(QT_MAKEDLL) -# if defined(QT_DLL) -# undef QT_DLL -# endif +#ifndef QT_STATIC # if defined(QT_BUILD_SENSORS_LIB) # define Q_SENSORS_EXPORT Q_DECL_EXPORT # else # define Q_SENSORS_EXPORT Q_DECL_IMPORT # endif -# elif defined(QT_DLL) -# define Q_SENSORS_EXPORT Q_DECL_IMPORT -# endif -#endif - -#if !defined(Q_SENSORS_EXPORT) -# if defined(QT_SHARED) -# define Q_SENSORS_EXPORT Q_DECL_EXPORT -# else +#else # define Q_SENSORS_EXPORT -# endif #endif #endif // QSENSORSGLOBAL_H |