Fix defined

This commit is contained in:
2024-02-13 11:38:49 +08:00
parent a6fb2a6870
commit 591b562721

View File

@@ -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)