在 2026-10-22 18:21, Pali Rohár 写道:
Function IsWindowsVistaOrGreater() provided by mingw-w64 header files is not compatible with systems older than Windows 2000 and on these systems the compiled binary crashes during the startup because of missing symbol VerSetConditionMask in kernel32.dll. Therefore this function for checking compatibility with older Windows versions is not very useful.Replace it by the checking for Windows version against the _winver variable which is available for all mingw-w64 builds and on all Windows versions. This allows to properly skip this test via return value 77 on older Windows versions, as it is expected from the test suite. --- mingw-w64-crt/testcases/t_safe_flush.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
I have pushed this one, too. -- 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
