From b9d3082823a3fdf5f2dd40f747c87afc57b09f92 Mon Sep 17 00:00:00 2001
From: Moritz Angermann <moritz.angermann@gmail.com>
Date: Wed, 24 Feb 2021 10:44:37 +0800
Subject: [PATCH] [darwin] Fix allocateExec guard

---
 includes/rts/storage/GC.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h
index be9c13cdf4ed..cfe48c24be0c 100644
--- a/includes/rts/storage/GC.h
+++ b/includes/rts/storage/GC.h
@@ -199,7 +199,7 @@ typedef void* AdjustorExecutable;
 
 AdjustorWritable allocateExec(W_ len, AdjustorExecutable *exec_addr);
 void flushExec(W_ len, AdjustorExecutable exec_addr);
-#if (defined(arm_HOST_ARCH) || defined(aarch64_HOST_ARCH)) && (defined(ios_HOST_OS) || defined(darwin_HOST_OS))
+#if defined(darwin_HOST_OS)
 AdjustorWritable execToWritable(AdjustorExecutable exec);
 #endif
 
-- 
GitLab