Skip to content

Commit b1e80ba

Browse files
committed
Fix support for Windows ZTS build
1 parent be2d390 commit b1e80ba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ext/opcache/jit/ir

Submodule ir updated 1 file

ext/opcache/jit/zend_jit_ir.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ static uint32_t allowed_opt_flags = 0;
162162
static bool delayed_call_chain = 0; // TODO: remove this var (use jit->delayed_call_level) ???
163163

164164
#ifdef ZTS
165+
# ifdef _WIN32
166+
extern uint32_t _tls_index;
167+
extern char *_tls_start;
168+
extern char *_tls_end;
169+
# endif
170+
165171
static size_t tsrm_ls_cache_tcb_offset = 0;
166172
static size_t tsrm_tls_index = 0;
167173
static size_t tsrm_tls_offset = 0;

0 commit comments

Comments
 (0)