diff options
| author | Dmitry Stogov <dmitry@php.net> | 2008-01-30 09:56:22 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2008-01-30 09:56:22 +0000 |
| commit | 42a683d688b0e05392eb169252232a8bf4b5a02a (patch) | |
| tree | 14066ce6bb8ed13f624d6f8190e8e4feb3a307dd /sapi/apache_hooks/mod_php5.h | |
| parent | d48c9d1a185292c3aacb7d13b12cb011d7ef2954 (diff) | |
| download | php-git-42a683d688b0e05392eb169252232a8bf4b5a02a.tar.gz | |
Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno)
Diffstat (limited to 'sapi/apache_hooks/mod_php5.h')
| -rw-r--r-- | sapi/apache_hooks/mod_php5.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sapi/apache_hooks/mod_php5.h b/sapi/apache_hooks/mod_php5.h index 0d61bf8982..1549dbf263 100644 --- a/sapi/apache_hooks/mod_php5.h +++ b/sapi/apache_hooks/mod_php5.h @@ -71,6 +71,13 @@ extern php_apache_info_struct php_apache_info; #define AP_LOGGING 10 #define AP_CLEANUP 11 + +/* fix for gcc4 visibility patch */ +#ifndef PHP_WIN32 +# undef MODULE_VAR_EXPORT +# define MODULE_VAR_EXPORT PHPAPI +#endif + #endif /* MOD_PHP5_H */ /* |
