summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_onig_compat.h
diff options
context:
space:
mode:
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 0000000..c97ba0c
--- /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 */