summaryrefslogtreecommitdiff
path: root/sapi/apache/php_apache_http.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-09-17 05:42:08 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-09-17 05:42:08 +0000
commitd62c9f33d9a809687138ab059e06f009e3e2dcea (patch)
tree5605e4c9e84ca084795dd0d07b907a28852dba16 /sapi/apache/php_apache_http.h
parent3bb2c572794eb9748d8b030a3053478f75a3dd07 (diff)
downloadphp-git-d62c9f33d9a809687138ab059e06f009e3e2dcea.tar.gz
regex_t is used by both Apache & mbregex. This little check prevent compile
failure, while php is compiled as dso module & mbstring is enabled.
Diffstat (limited to 'sapi/apache/php_apache_http.h')
-rw-r--r--sapi/apache/php_apache_http.h4
1 files changed, 4 insertions, 0 deletions
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 <openssl/ssl.h>
#endif
+#ifdef regex_t
+#undef regex_t
+#endif
+
#include "httpd.h"
#include "http_config.h"