Permalink
Browse files

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)
  • Loading branch information...
brammool committed Feb 1, 2017
1 parent f1ab9c1 commit 168dd00f72515750505458018767f2ae0bcdb54e
Showing with 5 additions and 1 deletion.
  1. +3 −1 src/Make_mvc.mak
  2. +2 −0 src/version.c
View
@@ -285,8 +285,10 @@ MSVCRT_VER = ($(MSVCVER) / 10 - 50)
# Base name of the msvcrXX.dll
!if $(MSVCRT_VER) <= 60
MSVCRT_NAME = msvcrt
-!else
+!elseif $(MSVCRT_VER) <= 130
MSVCRT_NAME = msvcr$(MSVCRT_VER)
+!else
+MSVCRT_NAME = vcruntime$(MSVCRT_VER)
!endif
!if $(MSVC_MAJOR) == 6
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 279,
/**/
278,
/**/

0 comments on commit 168dd00

Please sign in to comment.