diff --git a/Source/Locale/Locale.cpp b/Source/Locale/Locale.cpp index 311bf4d3..878a3ddb 100644 --- a/Source/Locale/Locale.cpp +++ b/Source/Locale/Locale.cpp @@ -26,7 +26,7 @@ namespace Aurora::Locale // Note: [0] out of touch boomers deprecated std::wstring_convert before going for a nappy. we do not have a replacement yet // [1] the native win32 implementation appears to be more optimized than MSVC/stl -#if !defined(AU_NO_CPPLOCALE) +#if !defined(AU_NO_CPPLOCALE) && !(defined(AURORA_COMPILER_MSVC) && defined(AU_LANG_CPP_20)) static std::wstring_convert> gUtf8Conv; #endif