mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
construct.
This commit is contained in:
parent
6d92ac275d
commit
47dfaf232f
@ -9,11 +9,7 @@
|
||||
*/
|
||||
#if HAVE_EXTNAME
|
||||
|
||||
#ifdef ZTS
|
||||
int extname_globals_id;
|
||||
#else
|
||||
php_extname_globals extname_globals;
|
||||
#endif
|
||||
ZEND_DECLARE_MODULE_GLOBALS(extname)
|
||||
|
||||
/* Every user visible function must have an entry in extname_functions[].
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user