Define QT_*_PLATFORM_SDK_EQUAL_OR_ABOVE macros on all platforms
Use of these macros implies defined(Q_OS_DARWIN) so don't complicate the usage point (since the preprocessor cannot handle, for example defined(Q_OS_DARWIN) && QT_DARWIN_PLATFORM_SDK_EQUAL_OR_ABOVE when the latter macro is not defined). Change-Id: I47995351f0e46d8a1d07708117f8eed63d87ba0f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2c9acfbec6
commit
be74da81df
@ -612,6 +612,18 @@ private:
|
||||
void *pool;
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
#define QT_DARWIN_PLATFORM_SDK_EQUAL_OR_ABOVE(macos, ios, tvos, watchos) (0)
|
||||
#define QT_MACOS_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(macos, ios) (0)
|
||||
#define QT_MACOS_PLATFORM_SDK_EQUAL_OR_ABOVE(macos) (0)
|
||||
#define QT_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(ios) (0)
|
||||
#define QT_TVOS_PLATFORM_SDK_EQUAL_OR_ABOVE(tvos) (0)
|
||||
#define QT_WATCHOS_PLATFORM_SDK_EQUAL_OR_ABOVE(watchos) (0)
|
||||
|
||||
#define QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(osx, ios) (0)
|
||||
#define QT_OSX_PLATFORM_SDK_EQUAL_OR_ABOVE(osx) (0)
|
||||
|
||||
#endif // Q_OS_DARWIN
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user