Permalink
Browse files

updated for version 7.3.665

Problem:    MSVC 11 is not supported.
Solution:   Recognize MSVC 11. (Raymond Ko)
  • Loading branch information...
1 parent 2d2a62e commit b0407a2775c9c89e372cf0f66fa6260b1f8d7262 @brammool brammool committed Sep 18, 2012
Showing with 7 additions and 2 deletions.
  1. +5 −2 src/Make_mvc.mak
  2. +2 −0 src/version.c
View
@@ -395,6 +395,9 @@ MSVCVER = 10.0
!if "$(_NMAKE_VER)" == "10.00.30319.01"
MSVCVER = 10.0
!endif
+!if "$(_NMAKE_VER)" == "11.00.50727.1"
+MSVCVER = 11.0
+!endif
!endif
# Abort bulding VIM if version of VC is unrecognised.
@@ -409,7 +412,7 @@ MSVCVER = 10.0
!endif
# Convert processor ID to MVC-compatible number
-!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0")
+!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0")
!if "$(CPUNR)" == "i386"
CPUARG = /G3
!elseif "$(CPUNR)" == "i486"
@@ -443,7 +446,7 @@ OPTFLAG = /O2
OPTFLAG = /Ox
!endif
-!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0")
+!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
# Use link time code generation if not worried about size
!if "$(OPTIMIZE)" != "SPACE"
OPTFLAG = $(OPTFLAG) /GL
View
@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 665,
/**/
664,
/**/

0 comments on commit b0407a2

Please sign in to comment.