summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-08-23 14:10:58 +0200
committerNicholas Clark <nick@ccl4.org>2011-08-24 15:25:20 +0200
commitdde5ec2cdf32b8230be523d637c5f541bef9f38f (patch)
treea4eb2a065e018f361ce3a0444177abb9ef16fa8f /perl.h
parentd8bc13fdf630994a826c6194f7f0266876e93782 (diff)
downloadperl-dde5ec2cdf32b8230be523d637c5f541bef9f38f.tar.gz
For microperl, prefix generateuudmap and the 3 generated headers with u.
Without this, the main Makefile and Makefile.micro interfere with each other, as they both generate the same 5 files, and both think that they can delete them with their respective clean targets.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 200e416dbd..f4bb2436dc 100644
--- a/perl.h
+++ b/perl.h
@@ -4292,10 +4292,18 @@ EXTCONST char PL_uuemap[65]
#ifdef DOINIT
EXTCONST char PL_uudmap[256] =
-#include "uudmap.h"
+# ifdef PERL_MICRO
+# include "uuudmap.h"
+# else
+# include "uudmap.h"
+# endif
;
EXTCONST char PL_bitcount[256] =
-# include "bitcount.h"
+# ifdef PERL_MICRO
+# include "ubitcount.h"
+#else
+# include "bitcount.h"
+# endif
;
EXTCONST char* const PL_sig_name[] = { SIG_NAME };
EXTCONST int PL_sig_num[] = { SIG_NUM };
@@ -5106,7 +5114,11 @@ EXTCONST runops_proc_t PL_runops_dbg
#ifdef DOINIT
EXTCONST U8 PL_magic_data[256] =
-#include "mg_data.h"
+# ifdef PERL_MICRO
+# include "umg_data.h"
+# else
+# include "mg_data.h"
+# endif
;
#else
EXTCONST U8 PL_magic_data[256];