在 2024-10-10 20:27, Martin Storsjö 写道:
So I guess this is fine, as a consistency extension on what we already have.It's a bit unclear to me what the real issue in https://github.com/mingw-w64/mingw-w64/issues/60 is though, and how this fixes it, because those macros are still going to be unavailable now - they're just unavailable in a more clear way now.I.e. patch ok with me, but root issue is unclear.
Thanks. Pushed now.With this applied, someone who wishes to call these functions will have to define `__MSVCRT_VERSION__` to at least 0x800 and bear the risk that their program no longer runs on XP, or they will have to define `__MSVCRT_VERSION__` to 0xA00 and link against MSVCR100 for example. Either way, for MSVCRT we define it to be 0x700 in 'mingw-w64-headers/configure.ac' and these shouldn't be declared.
-- 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
