[common] properly detect all versions of Windows 8

This commit is contained in:
Geoffrey McRae committed 2020-01-06 20:55:21 +11:00
1 parent 5db4c32035
commit b8203bec53
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
B1-55-g7469f54122+1
B1-55-g5db4c32035+1
+3 -1
View File
@@ -60,5 +60,7 @@ inline static BOOL CompareWindowsVersion(DWORD dwMajorVersion, DWORD dwMinorVers
bool IsWindows8()
{
return CompareWindowsVersion(6, 3) == TRUE;
return
(CompareWindowsVersion(6, 3) == TRUE) ||
(CompareWindowsVersion(6, 2) == TRUE);
}