From 84234a56a6c0028962165104ba45ac1148ff87eb Mon Sep 17 00:00:00 2001 From: Maikel van den Hurk Date: Thu, 5 Dec 2019 21:44:33 +0100 Subject: [PATCH] Use correct C++ versions for comparison --- parallel_hashmap/phmap_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parallel_hashmap/phmap_config.h b/parallel_hashmap/phmap_config.h index a31a35f..44ac2bd 100644 --- a/parallel_hashmap/phmap_config.h +++ b/parallel_hashmap/phmap_config.h @@ -304,14 +304,14 @@ // #pragma message(PHMAP_VAR_NAME_VALUE(_MSVC_LANG)) #if defined(_MSC_VER) && _MSC_VER >= 1910 && \ - ((defined(_MSVC_LANG) && _MSVC_LANG > 201402) || __cplusplus > 201402) + ((defined(_MSVC_LANG) && _MSVC_LANG > 201703) || __cplusplus > 201703) // #define PHMAP_HAVE_STD_ANY 1 #define PHMAP_HAVE_STD_OPTIONAL 1 #define PHMAP_HAVE_STD_VARIANT 1 #define PHMAP_HAVE_STD_STRING_VIEW 1 #endif -#if (defined(_MSVC_LANG) && _MSVC_LANG >= 201402) || __cplusplus >= 201402 +#if (defined(_MSVC_LANG) && _MSVC_LANG >= 201703) || __cplusplus >= 201703 #define PHMAP_HAVE_SHARED_MUTEX 1 #endif