diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/re/re.xs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/re/re.xs b/ext/re/re.xs index e9a9cab5bc..cc4dc69668 100644 --- a/ext/re/re.xs +++ b/ext/re/re.xs @@ -1,6 +1,7 @@ /* We need access to debugger hooks */ #ifndef DEBUGGING # define DEBUGGING +# define WAS_NOT_DEBUGGING #endif #define PERL_NO_GET_CONTEXT @@ -8,6 +9,10 @@ #include "perl.h" #include "XSUB.h" +#ifdef WAS_NOT_DEBUGGING +void Perl_deb(pTHX_ const char* pat, ...) { } +#endif + extern regexp* my_regcomp (pTHX_ char* exp, char* xend, PMOP* pm); extern I32 my_regexec (pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, |