Version 6.0.0 brings better Win32 API coverage and bugfixes. It's been used in various distros long enough to be considered stable. Latest version 7.0.0 hasn't received extensive testing yet. Announce mail: https://sourceforge.net/p/mingw-w64/mailman/message/36416777/wip/yesman
parent
ca9265c140
commit
8b89e0494c
@ -1,14 +0,0 @@ |
||||
Fix `error: osvi undeclared (first use in this function)' issue.
|
||||
|
||||
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863064
|
||||
--- a/mingw-w64-headers/include/multimon.h
|
||||
+++ b/mingw-w64-headers/include/multimon.h
|
||||
@@ -127,7 +127,7 @@
|
||||
WINBOOL IsPlatformNT() {
|
||||
OSVERSIONINFOA oi = { 0 };
|
||||
|
||||
- oi.dwOSVersionInfoSize = sizeof (osvi);
|
||||
+ oi.dwOSVersionInfoSize = sizeof (oi);
|
||||
GetVersionExA ((OSVERSIONINFOA *) &oi);
|
||||
return (oi.dwPlatformId == VER_PLATFORM_WIN32_NT);
|
||||
}
|
Loading…
Reference in new issue