Also expose them for other CRTs based on __USE_MINGW_ANSI_STDIO, like other conditionals in the same header.
Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/inttypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/crt/inttypes.h b/mingw-w64-headers/crt/inttypes.h index 0a3abb879..881025c0d 100644 --- a/mingw-w64-headers/crt/inttypes.h +++ b/mingw-w64-headers/crt/inttypes.h @@ -249,7 +249,7 @@ typedef struct { #define SCNuPTR "u" #endif -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#if defined(_UCRT) || __USE_MINGW_ANSI_STDIO /* * no length modifier for char types prior to C9x * MS runtime scanf appears to treat "hh" as "h" -- 2.25.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
