Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mono/utils/mono-mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/utils/mono-mmap.c b/mono/utils/mono-mmap.c
index 251e637ef6d..6f9e2c9629c 100644
--- a/mono/utils/mono-mmap.c
+++ b/mono/utils/mono-mmap.c
@@ -288,7 +288,7 @@ mono_valloc (void *addr, size_t length, int flags, MonoMemAccountType type)
return NULL;
#endif
-#if defined(__APPLE__) && defined(MAP_JIT)
+#if defined(__APPLE__) && defined(MAP_JIT) && defined(TARGET_OSX)
if (get_darwin_version () >= DARWIN_VERSION_MOJAVE) {
/* Check for hardened runtime */
static int is_hardened_runtime;