patch 8.0.0279: MSVC 2015 uses a different dll name

Problem:    With MSVC 2015 the dll name is vcruntime140.dll.
Solution:   Check the MSVC version and use the right dll name. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2017-02-01 13:02:47 +01:00
parent f1ab9c1370
commit 168dd00f72
2 changed files with 5 additions and 1 deletions

View File

@ -285,8 +285,10 @@ MSVCRT_VER = ($(MSVCVER) / 10 - 50)
# Base name of the msvcrXX.dll # Base name of the msvcrXX.dll
!if $(MSVCRT_VER) <= 60 !if $(MSVCRT_VER) <= 60
MSVCRT_NAME = msvcrt MSVCRT_NAME = msvcrt
!else !elseif $(MSVCRT_VER) <= 130
MSVCRT_NAME = msvcr$(MSVCRT_VER) MSVCRT_NAME = msvcr$(MSVCRT_VER)
!else
MSVCRT_NAME = vcruntime$(MSVCRT_VER)
!endif !endif
!if $(MSVC_MAJOR) == 6 !if $(MSVC_MAJOR) == 6

View File

@ -764,6 +764,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 */
/**/
279,
/**/ /**/
278, 278,
/**/ /**/