在 2024-10-11 19:11, Martin Storsjö 写道:
diff --git a/mingw-w64-headers/crt/ctype.h b/mingw-w64-headers/crt/ctype.h
index 60c17cc9a..85b09a519 100644
--- a/mingw-w64-headers/crt/ctype.h
+++ b/mingw-w64-headers/crt/ctype.h
@@ -138,7 +138,8 @@ int __cdecl isblank(int _C);
wint_t __cdecl towupper(wint_t _C);
wint_t __cdecl towlower(wint_t _C);
int __cdecl iswctype(wint_t _C,wctype_t _Type);
-#if __MSVCRT_VERSION__ >= 0x800
+#if __MSVCRT_VERSION__ >= 0x800 || (__MSVCRT_VERSION__ == 0x700 && _WIN32_WINNT
>= 0x0600)
+ /* These are available since msvcr80.dll, and in msvcrt.dll since Vista. */
These functions really do not exist on MSVCRT.DLL from Vista x64 (7.0.6002.18005): * _ispunct_l * _iswcsym_l * _iswcsymf_l These functions do not exist, but they are declared as macros so probably fine: * _ischartype_l * _iscsym_l * _iscsymf_l -- 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
