summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_onig_compat.h
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2008-07-16 02:30:49 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2008-07-16 02:30:49 +0000
commit88318e0294f0b0b95eacbd4e24fe6c718a72390f (patch)
treee18e3824e6cb5cdcc8a0a9968c9d33b99f84ccab /ext/mbstring/php_onig_compat.h
parent817f393a2d5238b780803fa27518bdc27f4a22f8 (diff)
downloadphp-git-88318e0294f0b0b95eacbd4e24fe6c718a72390f.tar.gz
- MFH: Added a new configure option --with-onig=[DIR] that allows the extension
to link to the external oniguruma library. - MFH: Prevent libmbfl files from being installed when --with-libmbfl is specified.
Diffstat (limited to 'ext/mbstring/php_onig_compat.h')
-rw-r--r--ext/mbstring/php_onig_compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/mbstring/php_onig_compat.h b/ext/mbstring/php_onig_compat.h
new file mode 100644
index 0000000000..c97ba0c5cb
--- /dev/null
+++ b/ext/mbstring/php_onig_compat.h
@@ -0,0 +1,8 @@
+#ifndef _PHP_ONIG_COMPAT_H
+#define _PHP_ONIG_COMPAT_H
+
+#define re_pattern_buffer php_mb_re_pattern_buffer
+#define regex_t php_mb_regex_t
+#define re_registers php_mb_re_registers
+
+#endif /* _PHP_ONIG_COMPAT_H */