Skip to content

Commit 591b562

Browse files
committed
Fix defined
1 parent a6fb2a6 commit 591b562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qemu/include/tcg/tcg-apple-jit.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#ifndef TCG_APPLE_JIT_H
2626
#define TCG_APPLE_JIT_H
2727

28-
#ifdef HAVE_PTHREAD_JIT_PROTECT
28+
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
2929

3030
/* write protect enable = write disable */
3131
static inline void jit_write_protect(int enabled)

0 commit comments

Comments
 (0)