mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
move SG to use global tsrmls pointer
This commit is contained in:
parent
aff66a94a6
commit
2bddd58d32
2 changed files with 4 additions and 1 deletions
|
@ -142,7 +142,7 @@ typedef struct _sapi_globals_struct {
|
|||
|
||||
BEGIN_EXTERN_C()
|
||||
#ifdef ZTS
|
||||
# define SG(v) TSRMG(sapi_globals_id, sapi_globals_struct *, v)
|
||||
# define SG(v) ZEND_TSRMG(sapi_globals_id, sapi_globals_struct *, v)
|
||||
SAPI_API extern int sapi_globals_id;
|
||||
#else
|
||||
# define SG(v) (sapi_globals.v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue