Commit 0f73f6ce authored by's avatar
Browse files

Fix warning compiling Linker.c for PPC Mac

The warning message eliminated is:
> rts/Linker.c:4756:0:
>      warning: nested extern declaration of 'symbolsWithoutUnderscore'
parent c970ab42
......@@ -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_symbolsWithoutUnderscore:");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment