Fix m1 defines

This commit is contained in:
2024-02-13 11:52:10 +08:00
parent a4ba7c9dd5
commit 78ea3c8301

View File

@@ -2171,7 +2171,7 @@ void tcg_flush_softmmu_tlb(struct uc_struct *uc)
} }
#ifdef HAVE_PTHREAD_JIT_PROTECT #if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
static bool tb_exec_is_locked(struct uc_struct *uc) static bool tb_exec_is_locked(struct uc_struct *uc)
{ {
return uc->current_executable; return uc->current_executable;