Improve check for <shared_mutex> existence

This commit is contained in:
greg7mdp
2023-03-12 18:31:12 -04:00
parent e7df60b86d
commit 55725dbe70
+1 -1
View File
@@ -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