summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-13 23:10:11 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-13 23:10:11 +0000
commita35a87e73d19b61371e17b22fda65883c899839f (patch)
treec00d6be29f3981eb46464d9d4acace302f030e12 /regexec.c
parent20c932f8124a8b3087843039e78e4bb9b7b0dcf8 (diff)
downloadperl-a35a87e73d19b61371e17b22fda65883c899839f.tar.gz
The dMY_CXT added in change 27938 isn't needed when in the PERL_CORE.
p4raw-id: //depot/perl@30574
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index b9ac0a82fb..dc0cd9ba3c 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2314,7 +2314,7 @@ S_regtry(pTHX_ regmatch_info *reginfo, char **startpos)
STATIC regmatch_state *
S_push_slab(pTHX)
{
-#if PERL_VERSION < 9
+#if PERL_VERSION < 9 && !defined(PERL_CORE)
dMY_CXT;
#endif
regmatch_slab *s = PL_regmatch_slab->next;
@@ -2614,7 +2614,7 @@ S_reg_check_named_buff_matched(pTHX_ const regexp *rex, const regnode *scan) {
STATIC I32 /* 0 failure, 1 success */
S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
{
-#if PERL_VERSION < 9
+#if PERL_VERSION < 9 && !defined(PERL_CORE)
dMY_CXT;
#endif
dVAR;