0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.665

Problem:    MSVC 11 is not supported.
Solution:   Recognize MSVC 11. (Raymond Ko)
This commit is contained in:
Bram Moolenaar
2012-09-18 18:27:12 +02:00
parent 4fabd7dd4a
commit 2b017fae8f
2 changed files with 7 additions and 2 deletions

View File

@@ -395,6 +395,9 @@ MSVCVER = 10.0
!if "$(_NMAKE_VER)" == "10.00.30319.01" !if "$(_NMAKE_VER)" == "10.00.30319.01"
MSVCVER = 10.0 MSVCVER = 10.0
!endif !endif
!if "$(_NMAKE_VER)" == "11.00.50727.1"
MSVCVER = 11.0
!endif
!endif !endif
# Abort bulding VIM if version of VC is unrecognised. # Abort bulding VIM if version of VC is unrecognised.
@@ -409,7 +412,7 @@ MSVCVER = 10.0
!endif !endif
# Convert processor ID to MVC-compatible number # 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" !if "$(CPUNR)" == "i386"
CPUARG = /G3 CPUARG = /G3
!elseif "$(CPUNR)" == "i486" !elseif "$(CPUNR)" == "i486"
@@ -443,7 +446,7 @@ OPTFLAG = /O2
OPTFLAG = /Ox OPTFLAG = /Ox
!endif !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 # Use link time code generation if not worried about size
!if "$(OPTIMIZE)" != "SPACE" !if "$(OPTIMIZE)" != "SPACE"
OPTFLAG = $(OPTFLAG) /GL OPTFLAG = $(OPTFLAG) /GL

View File

@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
665,
/**/ /**/
664, 664,
/**/ /**/