summaryrefslogtreecommitdiff
path: root/main/php_regex.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-11 00:01:47 +0000
committerZeev Suraski <zeev@php.net>1999-05-11 00:01:47 +0000
commit0b77132507dad64295a1521f9d4abfc5fbb747c9 (patch)
tree57f46ebcb35676eadbd260a9a1d368220a557e54 /main/php_regex.h
parent957616cd2d9fa3bf1e1409fe9a18e9b33835ef10 (diff)
downloadphp-git-0b77132507dad64295a1521f9d4abfc5fbb747c9.tar.gz
* Get Apache to work. POST doesn't work yet.
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for the Apache module, so we can #include any php/Zend header. * Rename config.h to php_config.h
Diffstat (limited to 'main/php_regex.h')
-rw-r--r--main/php_regex.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/php_regex.h b/main/php_regex.h
new file mode 100644
index 0000000000..2d18db721d
--- /dev/null
+++ b/main/php_regex.h
@@ -0,0 +1,14 @@
+#ifndef _PHP_REGEX_H
+#define _PHP_REGEX_H
+
+#if REGEX
+#include "regex/regex.h"
+#define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */
+#define _RX_H 1 /* Try defining these for Linux to */
+#define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */
+#define _H_REGEX 1 /* This one is for AIX */
+#else
+#include <regex.h>
+#endif
+
+#endif /* _PHP_REGEX_H */ \ No newline at end of file