mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
force more static tsrmls cache usage
This commit is contained in:
parent
38a076682f
commit
ebaa6a74a5
@ -26,7 +26,7 @@
|
||||
typedef struct _php_core_globals php_core_globals;
|
||||
|
||||
#ifdef ZTS
|
||||
# define PG(v) TSRMG(core_globals_id, php_core_globals *, v)
|
||||
# define PG(v) ZEND_TSRMG(core_globals_id, php_core_globals *, v)
|
||||
extern PHPAPI int core_globals_id;
|
||||
#else
|
||||
# define PG(v) (core_globals.v)
|
||||
|
@ -148,7 +148,7 @@ ZEND_END_MODULE_GLOBALS(output)
|
||||
|
||||
/* there should not be a need to use OG() from outside of output.c */
|
||||
#ifdef ZTS
|
||||
# define OG(v) TSRMG(output_globals_id, zend_output_globals *, v)
|
||||
# define OG(v) ZEND_TSRMG(output_globals_id, zend_output_globals *, v)
|
||||
#else
|
||||
# define OG(v) (output_globals.v)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user