Skip to content
Browse files

Disable munmap for ARM/Darwin.

This feature is largely experimental, and causes
random mprotect failures on iPhone, so it is better
to disable it. This makes allocation of memory to
Neko permanent until termination of the application.
  • Loading branch information...
1 parent 6f333bf commit bc84a55135fb2b40efc3ae7b9c7867ab616fa8c5 @angavrilov angavrilov committed with
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/private/gcconfig.h
View
2 include/private/gcconfig.h
@@ -1931,7 +1931,7 @@
# define STACKBOTTOM ((ptr_t) 0x30000000)
# define USE_MMAP
# define USE_MMAP_ANON
-# define USE_MUNMAP
+/*# define USE_MUNMAP*/
# endif
# ifdef NOSYS
/* __data_start is usually defined in the target linker script. */

0 comments on commit bc84a55

Please sign in to comment.
Something went wrong with that request. Please try again.