diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2021-02-24 10:44:37 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2021-03-07 22:19:18 +0800 |
commit | b9d3082823a3fdf5f2dd40f747c87afc57b09f92 (patch) | |
tree | 1b9215afc7bb866e990ba56333a1480a392e1b7c | |
parent | 037e0267640a7f03fb1083b588fc192dc0977eaa (diff) | |
download | haskell-b9d3082823a3fdf5f2dd40f747c87afc57b09f92.tar.gz |
[darwin] Fix allocateExec guard
-rw-r--r-- | includes/rts/storage/GC.h | 2 |
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 |