diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-05-30 11:13:31 +0100 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-06-08 13:34:18 -0400 |
commit | 310d0c4cbc2c847d24408bab92cdae0ed5cc4799 (patch) | |
tree | 091ff235f0c8fa5e2555faddef95ad91e739f105 /rts | |
parent | fd840b64ec21d2d06e1e54ce525195c6773d3f17 (diff) | |
download | haskell-310d0c4cbc2c847d24408bab92cdae0ed5cc4799.tar.gz |
Fix two lint failures in rts/linker/MachO.c
Diffstat (limited to 'rts')
-rw-r--r-- | rts/linker/MachO.c | 4 |
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 |