summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
parent03363afd3c2c023b9096c021741ecc63bc0de7dd (diff)
downloadperl-a3c0e9caa94eb215eb66e54d6286c77ccf441f01.tar.gz
Make Perl_regdupe only exist for threaded perls.
p4raw-id: //depot/perl@28893
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 5755f0633e..170023c9bd 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -668,7 +668,9 @@ Ap |I32 |pregexec |NN regexp* prog|NN char* stringarg \
|NN char* strend|NN char* strbeg|I32 minend \
|NN SV* screamer|U32 nosave
Ap |void |pregfree |NULLOK struct regexp* r
+#if defined(USE_ITHREADS)
Ap |regexp*|regdupe |NN const regexp* r|NN CLONE_PARAMS* param
+#endif
Ap |regexp*|pregcomp |NN char* exp|NN char* xend|NN PMOP* pm
Ap |char* |re_intuit_start|NN regexp* prog|NULLOK SV* sv|NN char* strpos \
|NN char* strend|U32 flags \