Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)

This commit is contained in:
Dmitry Stogov 2008-01-30 09:41:12 +00:00
parent 71efa394a6
commit 240fa244c3
25 changed files with 175 additions and 86 deletions

View file

@ -82,5 +82,10 @@ extern php_apache2_info_struct php_apache2_info;
#define AP2(v) (php_apache2_info.v)
#endif
/* fix for gcc4 visibility patch */
#ifndef PHP_WIN32
# undef AP_MODULE_DECLARE_DATA
# define AP_MODULE_DECLARE_DATA PHPAPI
#endif
#endif /* PHP_APACHE_H */