From 310d0c4cbc2c847d24408bab92cdae0ed5cc4799 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Thu, 30 May 2019 11:13:31 +0100 Subject: Fix two lint failures in rts/linker/MachO.c --- rts/linker/MachO.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rts') 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 -- cgit v1.2.1