Probably a copy/paste error. Without this, IsWindowsThresholdOrGreater
and IsWindows10OrGreater would always return FALSE, since they were
checking for Windows version 10.3.

Signed-off-by: James Ross-Gowan <rossy@jrg.systems>
---
 mingw-w64-headers/include/versionhelpers.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/versionhelpers.h 
b/mingw-w64-headers/include/versionhelpers.h
index 178e7885..35e4d917 100644
--- a/mingw-w64-headers/include/versionhelpers.h
+++ b/mingw-w64-headers/include/versionhelpers.h
@@ -71,7 +71,7 @@ VERSIONHELPERAPI IsWindows8Point1OrGreater(void) {
 }
 
 VERSIONHELPERAPI IsWindowsThresholdOrGreater(void) {
-    return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINTHRESHOLD), 
LOBYTE(_WIN32_WINNT_WINBLUE), 0);
+    return IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINTHRESHOLD), 
LOBYTE(_WIN32_WINNT_WINTHRESHOLD), 0);
 }
 
 VERSIONHELPERAPI IsWindows10OrGreater(void) {
-- 
2.16.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to