Fix defined

This commit is contained in:
lazymio 2024-02-13 11:38:49 +08:00
parent a6fb2a6870
commit 591b562721
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 1 additions and 1 deletions

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)