check thread-local storage support for clang

thread-local storage is not supported on iOS 8.0 and earlier
pull/1377/head
tangshi 6 years ago committed by GitHub
parent 58e68901c7
commit 8f8369fd9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@
// disable thread local on msvc 2013
#ifndef SPDLOG_NO_TLS
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__cplusplus_winrt)
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__cplusplus_winrt) || (defined(__has_feature) && !__has_feature(cxx_thread_local))
#define SPDLOG_NO_TLS 1
#endif
#endif

Loading…
Cancel
Save