mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno)
This commit is contained in:
parent
d48c9d1a18
commit
42a683d688
24 changed files with 171 additions and 88 deletions
|
@ -37,9 +37,11 @@ extern zend_module_entry unicode_module_entry;
|
|||
#define phpext_unicode_ptr &unicode_module_entry
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#define PHP_UNICODE_API __declspec(dllexport)
|
||||
# define PHP_UNICODE_API __declspec(dllexport)
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define PHP_UNICODE_API __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define PHP_UNICODE_API
|
||||
# define PHP_UNICODE_API
|
||||
#endif
|
||||
|
||||
PHP_MINIT_FUNCTION(unicode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue