summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2001-06-07 10:04:29 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-08 12:19:00 +0000
commit5371795a221e496d155a1231da29da52eb253eb5 (patch)
tree8ba0b75e2697f663af926960e31ecc63403aa112 /ext
parent3e1b48791d54e7c6043211159cffdebed97f0943 (diff)
downloadperl-5371795a221e496d155a1231da29da52eb253eb5.tar.gz
Unresolved symbol in ext/re/re.xs
Message-ID: <lrae3jsupe.fsf@caliper.ActiveState.com> p4raw-id: //depot/perl@10477
Diffstat (limited to 'ext')
-rw-r--r--ext/re/re.xs5
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,