Index: src/support/win32/locale_win32.cpp =================================================================== --- src/support/win32/locale_win32.cpp +++ src/support/win32/locale_win32.cpp @@ -93,7 +93,9 @@ va_list ap; va_start( ap, format ); #if defined(_LIBCPP_MSVCRT) - int result = _vsnprintf_l( ret, n, format, loc, ap ); + int result = __stdio_common_vsprintf( + _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR, + ret, n, format, loc, ap); #else int result = vsnprintf( ret, n, format, ap ); #endif