diff options
Diffstat (limited to 'sapi/apache/mod_php5.h')
-rw-r--r-- | sapi/apache/mod_php5.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/apache/mod_php5.h b/sapi/apache/mod_php5.h index 1daa476c7e..7533530de5 100644 --- a/sapi/apache/mod_php5.h +++ b/sapi/apache/mod_php5.h @@ -44,6 +44,12 @@ extern php_apache_info_struct php_apache_info; #define AP(v) (php_apache_info.v) #endif +/* fix for gcc4 visibility patch */ +#ifndef PHP_WIN32 +# undef MODULE_VAR_EXPORT +# define MODULE_VAR_EXPORT PHPAPI +#endif + #endif /* MOD_PHP5_H */ /* |