mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
Improve check for <shared_mutex> existence
This commit is contained in:
Vendored
+1
-1
@@ -313,7 +313,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if PHMAP_HAVE_CC17
|
||||
#if PHMAP_HAVE_CC17 && (!defined(__has_include) || __has_include(<shared_mutex>))
|
||||
#define PHMAP_HAVE_SHARED_MUTEX 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user