summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-02-24 10:44:37 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-03-07 22:19:18 +0800
commitb9d3082823a3fdf5f2dd40f747c87afc57b09f92 (patch)
tree1b9215afc7bb866e990ba56333a1480a392e1b7c
parent037e0267640a7f03fb1083b588fc192dc0977eaa (diff)
downloadhaskell-b9d3082823a3fdf5f2dd40f747c87afc57b09f92.tar.gz
[darwin] Fix allocateExec guard
-rw-r--r--includes/rts/storage/GC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h
index be9c13cdf4..cfe48c24be 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