diff options
| author | Dmitry Stogov <dmitry@php.net> | 2008-01-30 09:41:12 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2008-01-30 09:41:12 +0000 |
| commit | 240fa244c345141b13485713f16525c169ffa49a (patch) | |
| tree | 0addb4de1f48312bcac53d8f8d7863ff0fdf325f /sapi/apache2filter | |
| parent | 71efa394a6e17fa2552ccbbf454bb0f33429a8b2 (diff) | |
| download | php-git-240fa244c345141b13485713f16525c169ffa49a.tar.gz | |
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
Diffstat (limited to 'sapi/apache2filter')
| -rw-r--r-- | sapi/apache2filter/php_apache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/apache2filter/php_apache.h b/sapi/apache2filter/php_apache.h index 78050a7de5..53bfb9c223 100644 --- a/sapi/apache2filter/php_apache.h +++ b/sapi/apache2filter/php_apache.h @@ -74,4 +74,10 @@ static long php_apache_fteller_stream(void * TSRMLS_DC); #define APR_ARRAY_FOREACH_CLOSE() }} +/* fix for gcc4 visibility patch */ +#ifndef PHP_WIN32 +# undef AP_MODULE_DECLARE_DATA +# define AP_MODULE_DECLARE_DATA PHPAPI +#endif + #endif /* PHP_APACHE_H */ |
