Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-11-10 19:21:52 +0300
committerCorinna Vinschen <corinna@vinschen.de>2014-11-10 19:21:52 +0300
commitdf59ab7e7a12917e632a57924af39b566791297e (patch)
treeb6c2ba11f32eda01d5a8c588489140e05f763eba /winsup/utils/cygcheck.cc
parentfbb8f1a2c70341eaea7d90d2423a1a68c47fc16e (diff)
* cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index cc400519e..5d823e9a3 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1480,11 +1480,14 @@ dump_sysinfo ()
? "8" : "2012");
break;
case 3:
- default:
- osversion.dwMinorVersion = 3;
strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
? "8.1" : "2012 R2");
break;
+ case 4:
+ default:
+ strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
+ ? "10" : "2014");
+ break;
}
DWORD prod;
if (GetProductInfo (osversion.dwMajorVersion,