summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 07:18:16 -0600
committerKarl Williamson <khw@cpan.org>2020-11-29 09:10:08 -0700
commitc2454cf4ab65969c7412dafa4c6fc9572a5fb5f9 (patch)
tree71312c25fbb2b87af7ac4e110065287e1c7f2bab /opcode.h
parentfb85716223db49723bdef4aa9bb48d063fde98e5 (diff)
downloadperl-c2454cf4ab65969c7412dafa4c6fc9572a5fb5f9.tar.gz
opcode.h: Restrict scope of internal variables to core
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/opcode.h b/opcode.h
index c754a64015..7c708e402e 100644
--- a/opcode.h
+++ b/opcode.h
@@ -13,6 +13,8 @@
* Any changes made here will be lost!
*/
+#if defined(PERL_CORE) || defined(PERL_EXT)
+
#define Perl_pp_scalar Perl_pp_null
#define Perl_pp_padany Perl_unimplemented_op
#define Perl_pp_regcmaybe Perl_pp_null
@@ -138,6 +140,9 @@
#define Perl_pp_sgrent Perl_pp_ehostent
#define Perl_pp_egrent Perl_pp_ehostent
#define Perl_pp_custom Perl_unimplemented_op
+
+#endif /* End of if defined(PERL_CORE) || defined(PERL_EXT) */
+
START_EXTERN_C
#ifndef DOINIT