Skip to content

Commit 2b6cbca

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed ZTS cache usage
2 parents 5f09db3 + b0d76ed commit 2b6cbca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sapi/phpdbg/phpdbg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
#if !defined(PHPDBG_WEBDATA_TRANSFER_H) && !defined(PHPDBG_WEBHELPER_H)
120120

121121
#ifdef ZTS
122-
# define PHPDBG_G(v) TSRMG(phpdbg_globals_id, zend_phpdbg_globals *, v)
122+
# define PHPDBG_G(v) ZEND_TSRMG(phpdbg_globals_id, zend_phpdbg_globals *, v)
123123
#else
124124
# define PHPDBG_G(v) (phpdbg_globals.v)
125125
#endif

sapi/phpdbg/phpdbg_rinit_hook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern zend_module_entry phpdbg_webhelper_module_entry;
2727
#define phpext_phpdbg_webhelper_ptr &phpdbg_webhelper_module_entry
2828

2929
#ifdef ZTS
30-
# define PHPDBG_WG(v) TSRMG(phpdbg_webhelper_globals_id, zend_phpdbg_webhelper_globals *, v)
30+
# define PHPDBG_WG(v) ZEND_TSRMG(phpdbg_webhelper_globals_id, zend_phpdbg_webhelper_globals *, v)
3131
#else
3232
# define PHPDBG_WG(v) (phpdbg_webhelper_globals.v)
3333
#endif

0 commit comments

Comments
 (0)