Hi,
Found attached bug. Curiously, the test doesn't fail even if wine is pretending to be Windows 95 :)
ChangeLog: Fixed typo "Major" -> "Minor"
BTW, After the patch, the test for WIN98 or later is:
#define WIN98_PLUS(version) (version.dwMajorVersion==4 && \ version.dwMinorVersion>0)
but, MS's documentation: http://msdn.microsoft.com/library/en-us/sysinfo/sysinfo_49iw.asp suggests something more like:
#define WIN98_PLUS(version) \ ( (version.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) && \ ( (version.dwMajorVersion > 4) || \ (version.dwMajorVersion==4 && version.dwMinorVersion>0)))
Is this more correct?
---- Paul Millar