From bc13b52d32dd22803d2a15a29438989e67251e39 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 12 Dec 2022 15:20:22 -0500 Subject: [PATCH] windconf.h mingw bit --- include/windconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/windconf.h b/include/windconf.h index 33fd202d0..2cebcc7ca 100644 --- a/include/windconf.h +++ b/include/windconf.h @@ -114,6 +114,9 @@ extern errno_t tmpfile_s(FILE * restrict * restrict streamptr); #ifdef strcasecmp #undef strcasecmp /* https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/ */ +#ifdef __USE_MINGW_ANSI_STDIO +#undef __USE_MINGW_ANSI_STDIO +#endif #define __USE_MINGW_ANSI_STDIO 1 #endif /* extern int getlock(void); */