summaryrefslogtreecommitdiff
path: root/win32/detectenv-msvc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'win32/detectenv-msvc.mak')
-rw-r--r--win32/detectenv-msvc.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/detectenv-msvc.mak b/win32/detectenv-msvc.mak
index 29b73d88b..4c2595410 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -46,8 +46,10 @@ VSVER = 12
VSVER = 14
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
VSVER = 15
-!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
+!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 1930
VSVER = 16
+!elseif $(VCVERSION) > 1929 && $(VCVERSION) < 2000
+VSVER = 17
!else
VSVER = 0
!endif
@@ -55,7 +57,7 @@ VSVER = 0
!if "$(VSVER)" == "0"
MSG = ^
This NMake Makefile set supports Visual Studio^
-9 (2008) through 16 (2019). Your Visual Studio^
+9 (2008) through 17 (2022). Your Visual Studio^
version is not supported.
!error $(MSG)
!endif