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:
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc15
1 files changed, 4 insertions, 11 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 87557da04..106577c9c 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1465,17 +1465,10 @@ dump_sysinfo ()
? "7" : "2008 R2");
break;
case 2:
- /* No way to distinguish W8 and W8.1 by OS version numbers
- alone, unless the executables have a matching manifest.
- What a big, fat mess. */
- if (osversion.dwBuildNumber < 9200)
- {
- strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
- ? "8" : "2012");
- break;
- }
- /*FALLTHRU*/
- case 3:
+ strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION
+ ? "8" : "2012");
+ break;
+ case 3: /* Unreached due to mainfest nonsense. */
default:
osversion.dwMinorVersion = 3;
strcpy (osname, osversion.wProductType == VER_NT_WORKSTATION