Skip to content

Commit 5fb6cc8

Browse files
committed
Add __x86_64__ for consistency
1 parent ee2d7f3 commit 5fb6cc8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/jit/tls/zend_jit_tls_darwin.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void *zend_jit_tsrm_ls_cache_address(
5757
size_t module_offset
5858
) {
5959

60+
#if defined(__x86_64__)
6061
if (tcb_offset) {
6162
char *addr;
6263
__asm__ __volatile__(
@@ -75,5 +76,7 @@ void *zend_jit_tsrm_ls_cache_address(
7576
);
7677
return base + module_offset;
7778
}
79+
#endif
80+
7881
return NULL;
7982
}

0 commit comments

Comments
 (0)