From a3c0e9caa94eb215eb66e54d6286c77ccf441f01 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 26 Sep 2006 22:29:09 +0000 Subject: Make Perl_regdupe only exist for threaded perls. p4raw-id: //depot/perl@28893 --- embed.fnc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'embed.fnc') 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 \ -- cgit v1.2.1