mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
construct.
This commit is contained in:
@@ -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[].
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user