Fix build with ICC on macOS: <atomic> is properly supported
I'm guess I introduced the regression in the commit
18ed6f20ad, which I wasn't sure about.
Change-Id: Ic46ff326a6ba46bc877cfffd14839f84fdf796e7
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
bb10
parent
02167870c3
commit
ea9a8672a1
|
|
@ -1060,13 +1060,6 @@
|
|||
# undef Q_COMPILER_VARIADIC_TEMPLATES
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_LIBCPP_VERSION)
|
||||
// libc++ uses __has_feature(cxx_atomic), so disable the feature if the compiler
|
||||
// doesn't support it. That's required for the Intel compiler 14.x or earlier on OS X, for example.
|
||||
# if !__has_feature(cxx_atomic)
|
||||
# undef Q_COMPILER_ATOMICS
|
||||
# endif
|
||||
# endif
|
||||
# if defined(Q_COMPILER_THREADSAFE_STATICS) && defined(Q_OS_MAC)
|
||||
// Apple's low-level implementation of the C++ support library
|
||||
// (libc++abi.dylib, shared between libstdc++ and libc++) has deadlocks. The
|
||||
|
|
|
|||
Loading…
Reference in New Issue