This matches the public UCRT headers - the struct only contains one single placeholder member.
Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h index 89bfa1473..c7617798f 100644 --- a/mingw-w64-headers/crt/stdio.h +++ b/mingw-w64-headers/crt/stdio.h @@ -22,6 +22,9 @@ extern "C" { #ifndef _FILE_DEFINED struct _iobuf { +#ifdef _UCRT + void *_Placeholder; +#else char *_ptr; int _cnt; char *_base; @@ -30,6 +33,7 @@ extern "C" { int _charbuf; int _bufsiz; char *_tmpfname; +#endif }; typedef struct _iobuf FILE; #define _FILE_DEFINED -- 2.25.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
