summaryrefslogtreecommitdiff
path: root/rts/linker/SymbolExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/linker/SymbolExtras.h')
-rw-r--r--rts/linker/SymbolExtras.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/rts/linker/SymbolExtras.h b/rts/linker/SymbolExtras.h
index 6c05020b7b..9573856f87 100644
--- a/rts/linker/SymbolExtras.h
+++ b/rts/linker/SymbolExtras.h
@@ -16,13 +16,12 @@ SymbolExtra* makeArmSymbolExtra( ObjectCode const* oc,
unsigned long target,
bool fromThumb,
bool toThumb );
-#else
+#elif defined(powerpc_HOST_ARCH) || defined(x86_64_HOST_ARCH)
SymbolExtra* makeSymbolExtra( ObjectCode const* oc,
unsigned long symbolNumber,
unsigned long target );
-#endif /* arm_HOST_ARCH */
-
+#endif /* powerpc_HOST_ARCH || x86_64_HOST_ARCH */
#endif /* NEED_SYMBOL_EXTRAS */
#include "EndPrivate.h"