Additional workaround for latest version of MSVC 14.3

This commit is contained in:
Matt Borland
2023-03-30 16:41:03 +02:00
parent 761a0df7d9
commit d62fd5f027

View File

@@ -103,7 +103,7 @@ static_assert((BOOST_CHARCONV_ENDIAN_BIG_BYTE || BOOST_CHARCONV_ENDIAN_LITTLE_BY
#endif
// Workaround for errors in MSVC 14.3 with gotos in if constexpr blocks
#if defined(_MSC_VER) && _MSC_VER == 1933
#if defined(_MSC_VER) && (_MSC_VER == 1933 || _MSC_VER == 1934)
# define BOOST_CHARCONV_IF_CONSTEXPR if
#else
# define BOOST_CHARCONV_IF_CONSTEXPR BOOST_IF_CONSTEXPR