在 2026-9-17 00:55, Zhongteng Gui 写道:
The following patch should fix this regression, though I'm not sure whether this is the best fix.
This should be fine. For Cygwin/MSYS2, corecrt.h is included indirectly, with Cygwin headers, so it suffices.
An alternative way is a partial revert of the previous commit and move mbstate_t back to wchar.h. I'm not sure why yvals.h define _Mbstatet (and _Mbstinit) previously. yvals.h from latest MSVC doesn't define this. Maybe this is just for backward compatiablity of older MSVC?
That's how these are defined in Microsoft PSDK 2003. Recent SDKs no longer provide yvals.h. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
