* wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 and
Server 2012. Explain why this is necessary.
This commit is contained in:
parent
85cef403d8
commit
705b50fe39
|
@ -1,3 +1,8 @@
|
||||||
|
2013-11-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 and
|
||||||
|
Server 2012. Explain why this is necessary.
|
||||||
|
|
||||||
2013-11-19 Corinna Vinschen <corinna@vinschen.de>
|
2013-11-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* autoload.cc (IdnToAscii): Define.
|
* autoload.cc (IdnToAscii): Define.
|
||||||
|
|
|
@ -197,6 +197,15 @@ wincapc::init ()
|
||||||
case 1:
|
case 1:
|
||||||
caps = &wincap_7;
|
caps = &wincap_7;
|
||||||
break;
|
break;
|
||||||
|
case 2:
|
||||||
|
/* Hack for Windows 8.1 and Server 2012R2: If the executable is
|
||||||
|
missing a Windows 8.1 mainfest, the OS returns dwMinorVersion
|
||||||
|
2, as if it's running on Windows 8 or Server 2012. The
|
||||||
|
correct dwMinorVersion is 3 for 8.1/2012R2, though, so we're
|
||||||
|
fixing this up here. */
|
||||||
|
if (version.dwBuildNumber >= 9200)
|
||||||
|
version.dwMinorVersion = 3;
|
||||||
|
/*FALLTHRU*/
|
||||||
default:
|
default:
|
||||||
caps = &wincap_8;
|
caps = &wincap_8;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue