Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1691 from rainers/nodefaultlib
Browse files Browse the repository at this point in the history
Issue 12125: do not enforce specific MS C runtime
  • Loading branch information
MartinNowak committed Jan 18, 2017
2 parents ee5843a + 3251f09 commit 0dc5d1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/rt/monitor_.d
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ version (Windows)
{
pragma(lib, "snn.lib");
}
else version (CRuntime_Microsoft)
{
pragma(lib, "libcmt.lib");
pragma(lib, "oldnames.lib");
}
import core.sys.windows.windows;

alias Mutex = CRITICAL_SECTION;
Expand Down
3 changes: 3 additions & 0 deletions win64.mak
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ DRUNTIME_BASE=druntime$(MODEL)
DRUNTIME=lib\$(DRUNTIME_BASE).lib
GCSTUB=lib\gcstub$(MODEL).obj

# do not preselect a C runtime (extracted from the line above to make the auto tester happy)
CFLAGS=$(CFLAGS) /Zl

DOCFMT=

target : import copydir copy $(DRUNTIME) $(GCSTUB)
Expand Down

0 comments on commit 0dc5d1d

Please sign in to comment.