summaryrefslogtreecommitdiff
path: root/ports/unix/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/alloc.c')
-rw-r--r--ports/unix/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/alloc.c b/ports/unix/alloc.c
index 9ef19cb43..9ab2ca04e 100644
--- a/ports/unix/alloc.c
+++ b/ports/unix/alloc.c
@@ -32,7 +32,7 @@
#include "py/mpstate.h"
-#if MICROPY_EMIT_NATIVE || (MICROPY_PY_FFI && MICROPY_FORCE_PLAT_ALLOC_EXEC)
+#if MICROPY_EMIT_NATIVE
#if defined(__OpenBSD__) || defined(__MACH__)
#define MAP_ANONYMOUS MAP_ANON
@@ -80,4 +80,4 @@ void mp_unix_free_exec(void *ptr, size_t size) {
MP_REGISTER_ROOT_POINTER(void *mmap_region_head);
-#endif // MICROPY_EMIT_NATIVE || (MICROPY_PY_FFI && MICROPY_FORCE_PLAT_ALLOC_EXEC)
+#endif // MICROPY_EMIT_NATIVE