mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
Merge pull request #202 from ecatmur/clang-cc17
Fix C++17 detection for clang
This commit is contained in:
Vendored
+2
-1
@@ -120,7 +120,8 @@
|
|||||||
#define PHMAP_HAVE_BUILTIN(x) 0
|
#define PHMAP_HAVE_BUILTIN(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (!defined(__GNUC__) || __GNUC__ >= 5) && ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
|
#if (!defined(__GNUC__) || defined(__clang__) || __GNUC__ >= 5) && \
|
||||||
|
((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
|
||||||
#define PHMAP_HAVE_CC17 1
|
#define PHMAP_HAVE_CC17 1
|
||||||
#else
|
#else
|
||||||
#define PHMAP_HAVE_CC17 0
|
#define PHMAP_HAVE_CC17 0
|
||||||
|
|||||||
Reference in New Issue
Block a user