From b8203bec5371d79d911fe52c288d5b2a1a7636c4 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 6 Jan 2020 20:55:21 +1100 Subject: [PATCH] [common] properly detect all versions of Windows 8 --- VERSION | 2 +- common/src/platform/windows/windebug.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 209b1692..2bbec604 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-55-g7469f54122+1 \ No newline at end of file +B1-55-g5db4c32035+1 \ No newline at end of file diff --git a/common/src/platform/windows/windebug.c b/common/src/platform/windows/windebug.c index bee4bf4d..0bbdcb36 100644 --- a/common/src/platform/windows/windebug.c +++ b/common/src/platform/windows/windebug.c @@ -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); } \ No newline at end of file