Skip to content

Commit 27607e5

Browse files
committed
2 parents 41cefd9 + 51d0f56 commit 27607e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ constexpr auto gcc_clang_msvc_min_versions(
368368
}
369369

370370

371-
#if defined(_MSC_VER)
371+
#if defined(_MSC_VER) && !defined(__clang_major__)
372372
// MSVC can't handle 'inline constexpr' variables yet in all cases
373373
#define CPP2_CONSTEXPR const
374374
#else

0 commit comments

Comments
 (0)