diff options
author | Sascha Schumann <sas@php.net> | 1999-11-13 18:33:28 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-11-13 18:33:28 +0000 |
commit | afc9e1257b7976bf74925db79aca794dd423587e (patch) | |
tree | 55760978fa3f1d7be40e7bb431da11c53b3fe5f0 /ext/ereg/php_regex.h | |
parent | d35ea24fc01571fe808ad45049f62bb573cc7458 (diff) | |
download | php-git-afc9e1257b7976bf74925db79aca794dd423587e.tar.gz |
Suck in prototypes correctly with applied aliases
(otherwise php_reg* would not be prototyped)
Diffstat (limited to 'ext/ereg/php_regex.h')
-rw-r--r-- | ext/ereg/php_regex.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |