summaryrefslogtreecommitdiff
path: root/thrdvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-09-26 22:29:09 +0000
committerNicholas Clark <nick@ccl4.org>2006-09-26 22:29:09 +0000
commita3c0e9caa94eb215eb66e54d6286c77ccf441f01 (patch)
tree6b3f99fb79ffb54e76b7cda0e388f65417e5c1c2 /thrdvar.h
parent03363afd3c2c023b9096c021741ecc63bc0de7dd (diff)
downloadperl-a3c0e9caa94eb215eb66e54d6286c77ccf441f01.tar.gz
Make Perl_regdupe only exist for threaded perls.
p4raw-id: //depot/perl@28893
Diffstat (limited to 'thrdvar.h')
-rw-r--r--thrdvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thrdvar.h b/thrdvar.h
index ead327824f..d25db06784 100644
--- a/thrdvar.h
+++ b/thrdvar.h
@@ -176,8 +176,10 @@ PERLVARI(Tregint_string,re_intuit_string_t, MEMBER_TO_FPTR(Perl_re_intuit_string
PERLVARI(Tregfree, regfree_t, MEMBER_TO_FPTR(Perl_pregfree))
/* Pointer to REx free()er */
+#if defined(USE_ITHREADS)
PERLVARI(Tregdupe, regdupe_t, MEMBER_TO_FPTR(Perl_regdupe))
/* Pointer to REx dupe()er */
+#endif
PERLVARI(Treginterp_cnt,int, 0) /* Whether "Regexp" was interpolated. */