mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
issue #2581: review and cleanup of compiler version checks
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
b523120687
commit
d70b4864d9
@@ -31,8 +31,7 @@
|
||||
#endif
|
||||
// Checks whether C++11's `thread_local` storage duration specifier is
|
||||
// supported.
|
||||
#if defined(__apple_build_version__) && \
|
||||
((__apple_build_version__ < 8000042) || \
|
||||
#if EIGEN_COMP_CLANGAPPLE && ((EIGEN_COMP_CLANGAPPLE < 8000042) || \
|
||||
(TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0))
|
||||
// Notes: Xcode's clang did not support `thread_local` until version
|
||||
// 8, and even then not for all iOS < 9.0.
|
||||
|
||||
Reference in New Issue
Block a user