bc: fix build for iOS

`MAP_JIT' is available but does not work and `pthread_jit_write_protect_np'
is not available at all on iOS.
This commit is contained in:
Bogdan Popa 2021-01-18 13:51:57 +02:00 committed by Matthew Flatt
parent c1159fb02e
commit 764b552ac5

View File

@ -654,7 +654,9 @@
# define SCHEME_ARCH "arm"
# elif defined(__arm64__)
# define SCHEME_ARCH "aarch64"
# define MZ_USE_MAP_JIT
# if !defined(TARGET_OS_IPHONE)
# define MZ_USE_MAP_JIT
# endif
# define USE_DLOPEN_GLOBAL_BY_DEFAULT
# elif defined(__x86_64__)
# define SCHEME_ARCH "x86_64"