win32/detectenv-msvc.mak: Support Visual Studio 2017
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 17 Feb 2017 10:15:58 +0000 (18:15 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 17 Feb 2017 10:23:09 +0000 (18:23 +0800)
Sync the file from GLib so that we can build the introspection files
using Visual Studio 2017.

win32/detectenv-msvc.mak

index 61f979d..6fd96cc 100644 (file)
@@ -40,8 +40,10 @@ VSVER = 10
 VSVER = 11
 !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
 VSVER = 12
-!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
+!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
 VSVER = 14
+!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
+VSVER = 15
 !else
 VSVER = 0
 !endif