From d62c9f33d9a809687138ab059e06f009e3e2dcea Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 17 Sep 2003 05:42:08 +0000 Subject: regex_t is used by both Apache & mbregex. This little check prevent compile failure, while php is compiled as dso module & mbstring is enabled. --- sapi/apache/php_apache_http.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sapi') diff --git a/sapi/apache/php_apache_http.h b/sapi/apache/php_apache_http.h index 5cf10407fa..b236e5d44b 100644 --- a/sapi/apache/php_apache_http.h +++ b/sapi/apache/php_apache_http.h @@ -40,6 +40,10 @@ # include #endif +#ifdef regex_t +#undef regex_t +#endif + #include "httpd.h" #include "http_config.h" -- cgit v1.2.1