Define a high enough version for __MSVCRT_VERSION__ to make the declarations visible.
These started warning about implicit definitions since 2f9a13461d265592b33cc9ff0e425ecb0df9499c. Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-crt/stdio/_getwc_nolock.c | 2 ++ mingw-w64-crt/stdio/_putwc_nolock.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mingw-w64-crt/stdio/_getwc_nolock.c b/mingw-w64-crt/stdio/_getwc_nolock.c index 1d79602c1..fba41ca5a 100644 --- a/mingw-w64-crt/stdio/_getwc_nolock.c +++ b/mingw-w64-crt/stdio/_getwc_nolock.c @@ -1,3 +1,5 @@ +#undef __MSVCRT_VERSION__ +#define __MSVCRT_VERSION__ 0x800 #include <stdio.h> #undef _getwc_nolock diff --git a/mingw-w64-crt/stdio/_putwc_nolock.c b/mingw-w64-crt/stdio/_putwc_nolock.c index 77fe8fda7..44da19f4c 100644 --- a/mingw-w64-crt/stdio/_putwc_nolock.c +++ b/mingw-w64-crt/stdio/_putwc_nolock.c @@ -1,3 +1,5 @@ +#undef __MSVCRT_VERSION__ +#define __MSVCRT_VERSION__ 0x800 #include <stdio.h> #undef _putwc_nolock -- 2.25.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
