summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/Linker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index d84e4f7521..3ba598f1ba 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4751,9 +4751,10 @@ static int ocResolve_MachO(ObjectCode* oc)
* Yuck.
*/
+extern void* symbolsWithoutUnderscore[];
+
static void machoInitSymbolsWithoutUnderscore()
{
- extern void* symbolsWithoutUnderscore[];
void **p = symbolsWithoutUnderscore;
__asm__ volatile(".globl _symbolsWithoutUnderscore\n.data\n_symbolsWithoutUnderscore:");