Add missing line continuations for memory_resource opt-out on Apple systems
And add some additional parenthesis for extra safety. Amends f7c8ff511c30dc4310a72b3da4b4a345efe1fba0. Pick-to: 6.6 6.5 Change-Id: I4ca8b70f6adb876a10f82685ba9800021218d418 Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
This commit is contained in:
parent
727b6256c1
commit
e84c0df50f
@ -903,9 +903,9 @@
|
|||||||
// Also disable <atomic>, since it's clearly not there
|
// Also disable <atomic>, since it's clearly not there
|
||||||
# undef Q_COMPILER_ATOMICS
|
# undef Q_COMPILER_ATOMICS
|
||||||
# endif
|
# endif
|
||||||
# if defined(__cpp_lib_memory_resource)
|
# if defined(__cpp_lib_memory_resource) \
|
||||||
&& (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 140000
|
&& ((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 140000) \
|
||||||
|| defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 170000)
|
|| (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 170000))
|
||||||
# undef __cpp_lib_memory_resource // Only supported on macOS 14 and iOS 17
|
# undef __cpp_lib_memory_resource // Only supported on macOS 14 and iOS 17
|
||||||
# endif
|
# endif
|
||||||
# endif // defined(Q_CC_CLANG) && defined(Q_OS_DARWIN)
|
# endif // defined(Q_CC_CLANG) && defined(Q_OS_DARWIN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user