From f1bc7e401db45fe4eb762e3d7644d3619aaf023f Mon Sep 17 00:00:00 2001 From: Herb Sutter Date: Wed, 9 Oct 2024 17:22:32 -0700 Subject: [PATCH] Update include/cpp2util.h Co-authored-by: Matthieu HERNANDEZ <25429726+MatthieuHernandez@users.noreply.github.com> Signed-off-by: Herb Sutter --- include/cpp2util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cpp2util.h b/include/cpp2util.h index 0e681344c..ebedeb5fb 100644 --- a/include/cpp2util.h +++ b/include/cpp2util.h @@ -368,7 +368,7 @@ constexpr auto gcc_clang_msvc_min_versions( } -#if defined(_MSC_VER) && !defined(__clang_major__) && !defined(__GNUC__) +#if defined(_MSC_VER) && !defined(__clang_major__) // MSVC can't handle 'inline constexpr' variables yet in all cases #define CPP2_CONSTEXPR const #else