Add missing line continuations for memory_resource opt-out on Apple systems
And add some additional parenthesis for extra safety. Amends f7c8ff511c30dc4310a72b3da4b4a345efe1fba0. Change-Id: I4ca8b70f6adb876a10f82685ba9800021218d418 Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io> (cherry picked from commit e84c0df50f51c61aa49b47823582b0f8de406e3d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2741cf4f8a
commit
f7b243c721
@ -903,9 +903,9 @@
|
||||
// Also disable <atomic>, since it's clearly not there
|
||||
# undef Q_COMPILER_ATOMICS
|
||||
# endif
|
||||
# if defined(__cpp_lib_memory_resource)
|
||||
&& (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)
|
||||
# if defined(__cpp_lib_memory_resource) \
|
||||
&& ((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))
|
||||
# undef __cpp_lib_memory_resource // Only supported on macOS 14 and iOS 17
|
||||
# endif
|
||||
# endif // defined(Q_CC_CLANG) && defined(Q_OS_DARWIN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user