crt: Use the default _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS in __ms_fwprintf The existing form stems from the very early stages of the UCRT implementation in mingw-w64; there is no reason why we shouldn't honor the default settings of the executable here. Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c b/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c index 9244f94..b790733 100644 --- a/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c +++ b/mingw-w64-crt/stdio/ucrt_ms_fwprintf.c
@@ -17,7 +17,7 @@ va_list ap; int ret; va_start(ap, fmt); - ret = __stdio_common_vfwprintf(_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS, file, fmt, NULL, ap); + ret = __stdio_common_vfwprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS, file, fmt, NULL, ap); va_end(ap); return ret; }