summaryrefslogtreecommitdiff
path: root/main/php_regex.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-13 18:33:28 +0000
committerSascha Schumann <sas@php.net>1999-11-13 18:33:28 +0000
commitafc9e1257b7976bf74925db79aca794dd423587e (patch)
tree55760978fa3f1d7be40e7bb431da11c53b3fe5f0 /main/php_regex.h
parentd35ea24fc01571fe808ad45049f62bb573cc7458 (diff)
downloadphp-git-afc9e1257b7976bf74925db79aca794dd423587e.tar.gz
Suck in prototypes correctly with applied aliases
(otherwise php_reg* would not be prototyped)
Diffstat (limited to 'main/php_regex.h')
-rw-r--r--main/php_regex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php_regex.h b/main/php_regex.h
index 91cbd994c4..62279c4c08 100644
--- a/main/php_regex.h
+++ b/main/php_regex.h
@@ -2,7 +2,15 @@
#define _PHP_REGEX_H
#if REGEX == 1
+/* get aliases */
+#include "regex/regex_extra.h"
#include "regex/regex.h"
+
+/* get rid of aliases */
+#define PHP_NO_ALIASES
+#include "regex/regex_extra.h"
+#undef PHP_NO_ALIASES
+
#ifndef _REGEX_H
#define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */
#endif