File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ int zend_async_globals_id = 0;
2121size_t zend_async_globals_offset = 0 ;
2222#else
2323// The default data structure that is used when no other extensions are present.
24- zend_async_globals_t zend_async_globals = {0 };
24+ zend_async_globals_t zend_async_globals_api = {0 };
2525#endif
2626
2727#define ASYNC_THROW_ERROR (error ) zend_throw_error(NULL, error);
@@ -147,7 +147,7 @@ void zend_async_globals_ctor(void)
147147 ZEND_ASSERT (zend_async_globals_id != 0 && "zend_async_globals allocation failed" );
148148
149149#else
150- ts_globals_ctor (zend_async_globals );
150+ ts_globals_ctor (& zend_async_globals_api );
151151#endif
152152}
153153
@@ -159,7 +159,7 @@ void zend_async_globals_dtor(void)
159159{
160160#ifdef ZTS
161161#else
162- ts_globals_dtor (zend_async_globals );
162+ ts_globals_dtor (& zend_async_globals_api );
163163#endif
164164}
165165
Original file line number Diff line number Diff line change @@ -829,8 +829,8 @@ ZEND_API extern int zend_async_globals_id;
829829ZEND_API extern size_t zend_async_globals_offset ;
830830#define ZEND_ASYNC_G (v ) ZEND_TSRMG_FAST(zend_async_globals_offset, zend_async_globals_t *, v)
831831#else
832- #define ZEND_ASYNC_G (v ) (zend_async_globals .v)
833- ZEND_API extern zend_async_globals_t zend_async_globals ;
832+ #define ZEND_ASYNC_G (v ) (zend_async_globals_api .v)
833+ ZEND_API extern zend_async_globals_t zend_async_globals_api ;
834834#endif
835835END_EXTERN_C ()
836836
You can’t perform that action at this time.
0 commit comments