From afc9e1257b7976bf74925db79aca794dd423587e Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 13 Nov 1999 18:33:28 +0000 Subject: Suck in prototypes correctly with applied aliases (otherwise php_reg* would not be prototyped) --- ext/ereg/php_regex.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ext/ereg/php_regex.h') diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h index 91cbd994c4..62279c4c08 100644 --- a/ext/ereg/php_regex.h +++ b/ext/ereg/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 -- cgit v1.2.1