summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-22 18:26:21 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-22 18:26:21 +0000
commit24792b8dabd61fb81a064d275b67bc65123a8d4c (patch)
treed586244a6482f635ca0ebf02092f2c76ff71c8d9 /perl.h
parentd0cc0e64ef59c3e62362fbf0dc35c7753c137553 (diff)
downloadperl-24792b8dabd61fb81a064d275b67bc65123a8d4c.tar.gz
Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na
when PERL_CORE is defined. (Which, "obviously", is only in code within the perl source tree, which we control). Nullop remains, and would be moderately invasive to remove. p4raw-id: //depot/perl@32707
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index e379cc31c6..bf4db2410e 100644
--- a/perl.h
+++ b/perl.h
@@ -4723,6 +4723,11 @@ START_EXTERN_C
END_EXTERN_C
#endif
+#ifdef PERL_CORE
+/* All core uses now exterminated. Ensure no zombies can return: */
+# undef PL_na
+#endif
+
#if defined(WIN32)
/* Now all the config stuff is setup we can include embed.h */
# include "embed.h"