diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-09-26 22:29:09 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-09-26 22:29:09 +0000 |
commit | a3c0e9caa94eb215eb66e54d6286c77ccf441f01 (patch) | |
tree | 6b3f99fb79ffb54e76b7cda0e388f65417e5c1c2 /thrdvar.h | |
parent | 03363afd3c2c023b9096c021741ecc63bc0de7dd (diff) | |
download | perl-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. */ |