在 2024-11-28 22:16, Martin Storsjö 写道:
On Wed, 27 Nov 2024, Pali Rohár wrote:

Hello, do you have any opinion how to move forward with this issue?

Do we really needed special value for __MSVCRT_VERSION__ (e.g. 0x6FF pr
0x7FF)? Or can we just reuse 0x600 value together with _WIN32_WINNT check?

I'm ok with switching this to 0x600 - as you said, msvcrt.dll represents the MSVC 6.0 CRT DLL anyway, even though we expose functions available in msvcrt.dll on newer versions of Windows with _WIN32_WINNT as well.

But I did hear some differing opinions earlier, so I'd like for those to speak up still, before proceeding with this.

I'm suggesting 0x6FF, as Windows 98 is not a primary target.


In any case, it's going to be a significant patch to check all __MSVCRT_VERSION__ conditions in the headers, for cases that refer to msvcrt.dll.

Except those changes earlier in this thread (__MSVCRT_VERSION__ == 0x700 && _WIN32_WINNT >= 0x0600), there seem to be only checks for 0x800, 0x900, 0xA00, 0xE00 (UCRT) and a weird 0x1400 (also UCRT) so it should be safe to decrease that value.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to