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>2011-10-13 21:50:48 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-10-13 21:50:48 +0400
commit551a3d64c9006525101275245db2c950308f5846 (patch)
treebbfb260af3c5563e9dbabcaf5a9724e0b5f82dfd /winsup/utils/cygcheck.cc
parent76173acf28058262b31e129cb90fa7f478413e34 (diff)
* cygcheck.cc (dump_sysinfo): Add Windows 8 recognition. Note as
unsupported. Update products array.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc14
1 files changed, 10 insertions, 4 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 01b017ca2..9170d5645 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1433,6 +1433,12 @@ dump_sysinfo ()
else if (osversion.dwMinorVersion == 1)
strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
? "7" : "2008 R2");
+ else if (osversion.dwMinorVersion == 2)
+ {
+ strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
+ ? "8" : "Server 8");
+ strcat (osname, " (not yet supported!)");
+ }
DWORD prod;
if (GetProductInfo (osversion.dwMajorVersion,
osversion.dwMinorVersion,
@@ -1460,7 +1466,7 @@ dump_sysinfo ()
/* 0x0000000d */ " Server Standard Core",
/* 0x0000000e */ " Server Enterprise Core",
/* 0x0000000f */ " Server Enterprise for Itanium-based Systems",
- /* 0x00000000 */ " Business N",
+ /* 0x00000010 */ " Business N",
/* 0x00000011 */ " Web Server",
/* 0x00000012 */ " HPC Edition",
/* 0x00000013 */ " Home Server",
@@ -1478,7 +1484,7 @@ dump_sysinfo ()
/* 0x0000001f */ " Essential Business Server Security Server"
/* 0x00000020 */ " Essential Business Server Messaging Server",
/* 0x00000021 */ " Server Foundation",
- /* 0x00000022 */ "",
+ /* 0x00000022 */ " Home Server 2011",
/* 0x00000023 */ " without Hyper-V for Windows Essential Server Solutions",
/* 0x00000024 */ " Server Standard without Hyper-V",
/* 0x00000025 */ " Server Datacenter without Hyper-V",
@@ -1494,13 +1500,13 @@ dump_sysinfo ()
/* 0x0000002f */ " Starter N",
/* 0x00000030 */ " Professional",
/* 0x00000031 */ " Professional N",
- /* 0x00000032 */ "",
+ /* 0x00000032 */ " Home Server 2011",
/* 0x00000033 */ "",
/* 0x00000034 */ "",
/* 0x00000035 */ "",
/* 0x00000036 */ "",
/* 0x00000037 */ "",
- /* 0x00000038 */ "",
+ /* 0x00000038 */ " Multipoint Server",
/* 0x00000039 */ "",
/* 0x0000003a */ "",
/* 0x0000003b */ "",