This applies the change from fe226dd9028f3f64bef4b4384edb1ef2c95c15f4 to the copy of this struct definition in wchar.h and mbstring.h.
Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/mbstring.h | 4 ++++ mingw-w64-headers/crt/wchar.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mingw-w64-headers/crt/mbstring.h b/mingw-w64-headers/crt/mbstring.h index e9e43a13a..8b78e8b7d 100644 --- a/mingw-w64-headers/crt/mbstring.h +++ b/mingw-w64-headers/crt/mbstring.h @@ -16,6 +16,9 @@ extern "C" { #ifndef _FILE_DEFINED struct _iobuf { +#ifdef _UCRT + void *_Placeholder; +#else char *_ptr; int _cnt; char *_base; @@ -24,6 +27,7 @@ extern "C" { int _charbuf; int _bufsiz; char *_tmpfname; +#endif }; typedef struct _iobuf FILE; #define _FILE_DEFINED diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h index 898d0e821..02c1b47cd 100644 --- a/mingw-w64-headers/crt/wchar.h +++ b/mingw-w64-headers/crt/wchar.h @@ -41,6 +41,9 @@ extern "C" { #ifndef _FILE_DEFINED struct _iobuf { +#ifdef _UCRT + void *_Placeholder; +#else char *_ptr; int _cnt; char *_base; @@ -49,6 +52,7 @@ extern "C" { int _charbuf; int _bufsiz; char *_tmpfname; +#endif }; typedef struct _iobuf FILE; #define _FILE_DEFINED -- 2.43.0 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
