Skip to content

Commit aef3bd4

Browse files
committed
Fix defines in uc.c
1 parent 78ea3c8 commit aef3bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static void clear_deleted_hooks(uc_engine *uc);
3535
static uc_err uc_snapshot(uc_engine *uc);
3636
static uc_err uc_restore_latest_snapshot(uc_engine *uc);
3737

38-
#ifdef HAVE_PTHREAD_JIT_PROTECT
38+
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
3939
static void save_jit_state(uc_engine *uc)
4040
{
4141
if (!uc->nested) {

0 commit comments

Comments
 (0)