summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2019-05-30 11:13:31 +0100
committerBen Gamari <ben@well-typed.com>2019-06-08 13:34:18 -0400
commit310d0c4cbc2c847d24408bab92cdae0ed5cc4799 (patch)
tree091ff235f0c8fa5e2555faddef95ad91e739f105
parentfd840b64ec21d2d06e1e54ce525195c6773d3f17 (diff)
downloadhaskell-310d0c4cbc2c847d24408bab92cdae0ed5cc4799.tar.gz
Fix two lint failures in rts/linker/MachO.c
-rw-r--r--rts/linker/MachO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/linker/MachO.c b/rts/linker/MachO.c
index 9516eac1f2..61c6d9d503 100644
--- a/rts/linker/MachO.c
+++ b/rts/linker/MachO.c
@@ -1220,7 +1220,7 @@ ocGetNames_MachO(ObjectCode* oc)
IF_DEBUG(linker, debugBelch("ocGetNames_MachO: will load %d sections\n",
oc->n_sections));
-#if defined (ios_HOST_OS)
+#if defined(ios_HOST_OS)
for(int i=0; i < oc->n_sections; i++)
{
MachOSection * section = &oc->info->macho_sections[i];
@@ -1645,7 +1645,7 @@ ocResolve_MachO(ObjectCode* oc)
{
IF_DEBUG(linker, debugBelch("ocResolve_MachO: relocating section %d\n", i));
-#if defined aarch64_HOST_ARCH
+#if defined(aarch64_HOST_ARCH)
if (!relocateSectionAarch64(oc, &oc->sections[i]))
return 0;
#else