From 42d926603872451f1a1fb8aef16a2e65acdba76f Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Tue, 26 Jan 2021 00:08:31 -0700 Subject: [PATCH] HAVE_STATIC_CODE_BUFFER has issues if built/linked on a newer version of macOS. Don't use it for now. --- src/arm_jit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arm_jit.cpp b/src/arm_jit.cpp index 0f369ad..60dea76 100755 --- a/src/arm_jit.cpp +++ b/src/arm_jit.cpp @@ -30,8 +30,12 @@ #include #include #include +// Apple has become very strict about memory protection! +// The static code buffer won't work anymore! +#ifndef __APPLE__ #define HAVE_STATIC_CODE_BUFFER #endif +#endif #include "armcpu.h" #include "instructions.h"