summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/host_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp
index 413dd3e98..3a9ea6eb4 100644
--- a/src/common/host_memory.cpp
+++ b/src/common/host_memory.cpp
@@ -541,7 +541,7 @@ public:
if (write) {
flags |= PROT_WRITE;
}
-#ifdef ARCHITECTURE_arm64
+#ifdef HAS_NCE
if (execute) {
flags |= PROT_EXEC;
}