Skip to content

Commit 3fce53c

Browse files
committed
* fix Unix build process
1 parent 95b12f7 commit 3fce53c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Zend/zend_async_API.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int zend_async_globals_id = 0;
2121
size_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

Zend/zend_async_API.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ ZEND_API extern int zend_async_globals_id;
829829
ZEND_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
835835
END_EXTERN_C()
836836

0 commit comments

Comments
 (0)