diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 05:20:31 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-09 05:20:31 +0000 |
commit | d06ea78cdb5afedf2e1a85ff54e3bfc5c519b3c5 (patch) | |
tree | 22312ea50e4a3a4106ee988018c50871c1267077 /regcomp.c | |
parent | 3f9aafa052abab5917516312e3f78b01a9ea73c3 (diff) | |
download | perl-d06ea78cdb5afedf2e1a85ff54e3bfc5c519b3c5.tar.gz |
applied patch from Ilya, tweaked some to get clean static build of
the ext/re stuff (untested on win32)
p4raw-id: //depot/perl@1393
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -20,9 +20,13 @@ */ #ifdef IN_XSUB_RE +/* We *really* need to overwrite these symbols: */ # define Perl_pregcomp my_regcomp # define Perl_regdump my_regdump # define Perl_regprop my_regprop +/* *These* symbols are masked to allow static link. */ +# define Perl_pregfree my_regfree +# define Perl_regnext my_regnext #endif /*SUPPRESS 112*/ @@ -61,7 +65,10 @@ */ #include "EXTERN.h" #include "perl.h" -#include "INTERN.h" + +#ifndef IN_XSUB_RE +# include "INTERN.h" +#endif #define REG_COMP_C #include "regcomp.h" |