在 2026-9-10 15:59, Zhongteng Gui 写道:
On 2026/09/10 15:46, Martin Storsjö wrote:I think the simplest and most pragmatic workaround would be to reinstate at least the "#define _TIMEZONE_DEFINED". We could also reinstate the ifdefs around it, to avoid conflicts if user headers may have defined it before us. But we can at least avoid duplicating it between the two headers, if one of them always include the other one.I think this is reasonable, I didn't expect that so many downstream projects define struct timezone themselves, considering that MSVC doesn't provide this macro. Attached a new patch that restore _TIMEZONE_DEFINED.
OK. I have pushed this patch now. -- 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
