about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <seebastien.chev@gmail.com>2023-09-09 17:35:17 +0200
committerptitSeb <seebastien.chev@gmail.com>2023-09-09 17:35:17 +0200
commit8947b735f9f6d1906365954784236f562f9d6f8d (patch)
tree67b255141ef0635cae33c467be3fadf3ab57a8df /src
parente245dee90b431532fd6fb2296e66f4e03c17095c (diff)
downloadbox64-8947b735f9f6d1906365954784236f562f9d6f8d.tar.gz
box64-8947b735f9f6d1906365954784236f562f9d6f8d.zip
Go back to use mmap for memory allocation, as some OS restric malloc'd memory to not being runnable (might help #939, #935 and #487, probably other)
Diffstat (limited to 'src')
-rw-r--r--src/custommem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 3ec46783..690a24aa 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -30,7 +30,7 @@
 #include "dynarec/native_lock.h"
 #include "dynarec/dynarec_next.h"
 
-//#define USE_MMAP
+#define USE_MMAP
 
 // init inside dynablocks.c
 static mmaplist_t          *mmaplist = NULL;