Skip to content

Commit

Permalink
Fix defined
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Feb 13, 2024
1 parent a6fb2a6 commit 591b562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu/include/tcg/tcg-apple-jit.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef TCG_APPLE_JIT_H
#define TCG_APPLE_JIT_H

#ifdef HAVE_PTHREAD_JIT_PROTECT
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))

/* write protect enable = write disable */
static inline void jit_write_protect(int enabled)
Expand Down

0 comments on commit 591b562

Please sign in to comment.