mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
Update parallel_hashmap/phmap_config.h
Co-authored-by: Gregory Popovitch <greg7mdp@gmail.com>
This commit is contained in:
Vendored
+1
-1
@@ -154,7 +154,7 @@
|
||||
// -------------------------------------------------------------------
|
||||
#ifdef PHMAP_HAVE_THREAD_LOCAL
|
||||
#error PHMAP_HAVE_THREAD_LOCAL cannot be directly set
|
||||
#elif defined(__APPLE__) && !defined(__GNUC__)
|
||||
#elif defined(__APPLE__) && defined(__clang__)
|
||||
#if __has_feature(cxx_thread_local) && \
|
||||
!(TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_9_0)
|
||||
#define PHMAP_HAVE_THREAD_LOCAL 1
|
||||
|
||||
Reference in New Issue
Block a user