* ntdll.h (RtlGetVersion): Declare.

* wincap.cc (wincapc::init): Rather than GetVersionEx, call
	RtlGetVersion which is not crippled by missing Windows 8.1 manifest.
	* wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW.
	Align formatting of all class members.
This commit is contained in:
Corinna Vinschen
2013-11-19 22:21:11 +00:00
parent f8863cbe54
commit c9f36df332
5 changed files with 20 additions and 7 deletions

View File

@@ -56,3 +56,7 @@ Bug fixes:
- Fix typos in cygcheck which could crash Windows 8 and 8.1 machines.
Fixes: http://cygwin.com/ml/cygwin/2013-11/msg00334.html
- Show OS version correctly even on Windows 8.1 and Server 2012 R2.
Fixes: http://cygwin.com/ml/cygwin/2013-11/msg00343.html