summaryrefslogtreecommitdiff
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 7b54f469a..c1aeeb830 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -355,12 +355,13 @@ LIBC =
! else
LIBC = /fixed:no
! endif
-
-! ifndef USE_MSVCRT
-LIBC = $(LIBC) libcd.lib
-! else
+! ifdef USE_MSVCRT
CFLAGS = $(CFLAGS) -MDd
LIBC = $(LIBC) msvcrtd.lib
+! elseif defined(MULTITHREADED)
+LIBC = $(LIBC) libcmtd.lib
+! else
+LIBC = $(LIBC) libcd.lib
! endif
!endif # DEBUG
@@ -837,7 +838,7 @@ $(OUTDIR)/if_perlsfio.obj: $(OUTDIR) if_perlsfio.c $(INCL)
$(CC) $(CFLAGS) $(PERL_INC) if_perlsfio.c
$(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c $(INCL)
- $(CC) $(CFLAGS) $(PERL_INC) if_mzsch.c
+ $(CC) $(CFLAGS) if_mzsch.c \
-DMZSCHEME_COLLECTS=\"$(MZSCHEME:\=\\)\\collects\"
$(OUTDIR)/if_python.obj: $(OUTDIR) if_python.c $(INCL)