summaryrefslogtreecommitdiff
path: root/ext/mbstring/mbregex.c
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2002-10-06 09:29:54 +0000
committerSebastian Bergmann <sebastian@php.net>2002-10-06 09:29:54 +0000
commitdf472058e27fe3526c958e3e4e30d4b1d5ff2b1b (patch)
treeec00cfa9c2d42ec7460fe990ed83417f840cc99b /ext/mbstring/mbregex.c
parentde36720e0e59c593062cb3e3440665deec6f3a0f (diff)
downloadphp-git-df472058e27fe3526c958e3e4e30d4b1d5ff2b1b.tar.gz
HAVE_MBREGEX awareness.
Diffstat (limited to 'ext/mbstring/mbregex.c')
-rw-r--r--ext/mbstring/mbregex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mbstring/mbregex.c b/ext/mbstring/mbregex.c
index 26348242db..db12454a3f 100644
--- a/ext/mbstring/mbregex.c
+++ b/ext/mbstring/mbregex.c
@@ -23,6 +23,8 @@
#include "php.h"
+#if HAVE_MBREGEX
+
#define re_compile_pattern mbre_compile_pattern
#define re_free_pattern mbre_free_pattern
#define re_adjust_startpos mbre_adjust_startpos
@@ -4699,3 +4701,5 @@ re_mbctab_get(mbctype)
return p;
}
+
+#endif /* HAVE_MBREGEX */