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;
21
21
size_t zend_async_globals_offset = 0 ;
22
22
#else
23
23
// 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 };
25
25
#endif
26
26
27
27
#define ASYNC_THROW_ERROR (error ) zend_throw_error(NULL, error);
@@ -147,7 +147,7 @@ void zend_async_globals_ctor(void)
147
147
ZEND_ASSERT (zend_async_globals_id != 0 && "zend_async_globals allocation failed" );
148
148
149
149
#else
150
- ts_globals_ctor (zend_async_globals );
150
+ ts_globals_ctor (& zend_async_globals_api );
151
151
#endif
152
152
}
153
153
@@ -159,7 +159,7 @@ void zend_async_globals_dtor(void)
159
159
{
160
160
#ifdef ZTS
161
161
#else
162
- ts_globals_dtor (zend_async_globals );
162
+ ts_globals_dtor (& zend_async_globals_api );
163
163
#endif
164
164
}
165
165
Original file line number Diff line number Diff line change @@ -829,8 +829,8 @@ ZEND_API extern int zend_async_globals_id;
829
829
ZEND_API extern size_t zend_async_globals_offset ;
830
830
#define ZEND_ASYNC_G (v ) ZEND_TSRMG_FAST(zend_async_globals_offset, zend_async_globals_t *, v)
831
831
#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 ;
834
834
#endif
835
835
END_EXTERN_C ()
836
836
You can’t perform that action at this time.
0 commit comments