php_compat.h in ext/mbstring/oniguruma
| From: | Joe Orton | Date: | Sun, 18 Jul 2004 13:13:06 +0000 |
| Subject: | php_compat.h in ext/mbstring/oniguruma | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-11323@lists.php.net to get a copy of this message | ||
I think this file needs to be renamed; the 5.0.0 build fails using
mbregex and pcre with bundled pcre, for instance, since the bundled pcre
picks up the wrong php_compat.h and the #define pcre_* aren't picked up.
Renaming it to php_oniguruma.h and changing the #include fixes the
build.
Index: oniguruma.h
===================================================================
RCS file: /repository/php-src/ext/mbstring/oniguruma/oniguruma.h,v
retrieving revision 1.3
diff -u -r1.3 oniguruma.h
--- oniguruma.h 4 Mar 2004 21:50:20 -0000 1.3
+++ oniguruma.h 18 Jul 2004 13:11:50 -0000
@@ -8,7 +8,7 @@
#ifndef ONIGURUMA_H
#define ONIGURUMA_H
-#include "php_compat.h"
+#include "php_oniguruma.h"
#define ONIGURUMA
#define ONIGURUMA_VERSION_MAJOR 2
joe