diff options
| -rw-r--r-- | src/common/host_memory.cpp | 2 |
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: | |||
| 541 | if (write) { | 541 | if (write) { |
| 542 | flags |= PROT_WRITE; | 542 | flags |= PROT_WRITE; |
| 543 | } | 543 | } |
| 544 | #ifdef ARCHITECTURE_arm64 | 544 | #ifdef HAS_NCE |
| 545 | if (execute) { | 545 | if (execute) { |
| 546 | flags |= PROT_EXEC; | 546 | flags |= PROT_EXEC; |
| 547 | } | 547 | } |