summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-24 17:45:57 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-24 17:45:57 +0000
commit8c4561fbb4b02a2171ebce641e7cb62696b86417 (patch)
treec908de5299dcd03af6ae96e05466f294ba204621 /win32
parent16ad9bfac1f54be805ef4a486e9f58be56a4dcc1 (diff)
downloadperl-8c4561fbb4b02a2171ebce641e7cb62696b86417.tar.gz
Add -DPERL_IS_MINIPERL when building the object files for miniperl.exe
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile2
-rw-r--r--win32/makefile.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 467944d8c6..dccade2b3a 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -929,7 +929,7 @@ $(MINIDIR) :
if not exist "$(MINIDIR)" mkdir "$(MINIDIR)"
$(MINICORE_OBJ) : $(CORE_NOCFG_H)
- $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB $(OBJOUT_FLAG)$@ ..\$(*F).c
+ $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ ..\$(*F).c
$(MINIWIN32_OBJ) : $(CORE_NOCFG_H)
$(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $(*F).c
diff --git a/win32/makefile.mk b/win32/makefile.mk
index f73670ee30..acbb8de9c4 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1181,7 +1181,7 @@ $(MINIDIR) :
if not exist "$(MINIDIR)" mkdir "$(MINIDIR)"
$(MINICORE_OBJ) : $(CORE_NOCFG_H)
- $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB $(OBJOUT_FLAG)$@ ..\$(*B).c
+ $(CC) -c $(CFLAGS) -DPERL_EXTERNAL_GLOB -DPERL_IS_MINIPERL $(OBJOUT_FLAG)$@ ..\$(*B).c
$(MINIWIN32_OBJ) : $(CORE_NOCFG_H)
$(CC) -c $(CFLAGS) $(OBJOUT_FLAG)$@ $(*B).c