Skip to content

Commit bc6e2a9

Browse files
authored
Merge pull request #10799 from rainers/msvcr120
mingw: use runtime from VC 12 (VS 2012) for better C99 support merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2 parents c3979a3 + 1c7d4a3 commit bc6e2a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dmd/cli.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ dmd -cov -unittest myprog.d
526526
If no Visual C installation is detected, a wrapper for the redistributable
527527
VC2010 dynamic runtime library and mingw based platform import libraries will
528528
be linked instead using the LLD linker provided by the LLVM project.
529-
The detection can be skipped explicitly if $(TT msvcrt100) is specified as
529+
The detection can be skipped explicitly if $(TT msvcrt120) is specified as
530530
$(I libname).
531531
If $(I libname) is empty, no C runtime library is automatically linked in.",
532532
TargetOS.windows,

src/dmd/link.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ version (Windows)
10471047
if (getVCLibDir(x64))
10481048
return "libcmt";
10491049
else
1050-
return "msvcrt100"; // mingw replacement
1050+
return "msvcrt120"; // mingw replacement
10511051
}
10521052

10531053
/**

0 commit comments

Comments
 (0)