Skip to content

Commit 168dd00

Browse files
committed
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)
1 parent f1ab9c1 commit 168dd00

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Make_mvc.mak

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,10 @@ MSVCRT_VER = ($(MSVCVER) / 10 - 50)
285285
# Base name of the msvcrXX.dll
286286
!if $(MSVCRT_VER) <= 60
287287
MSVCRT_NAME = msvcrt
288-
!else
288+
!elseif $(MSVCRT_VER) <= 130
289289
MSVCRT_NAME = msvcr$(MSVCRT_VER)
290+
!else
291+
MSVCRT_NAME = vcruntime$(MSVCRT_VER)
290292
!endif
291293

292294
!if $(MSVC_MAJOR) == 6

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
279,
767769
/**/
768770
278,
769771
/**/

0 commit comments

Comments
 (0)