summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorThorkil Naur <naur@post11.tele.dk>2008-11-21 16:01:49 +0000
committerThorkil Naur <naur@post11.tele.dk>2008-11-21 16:01:49 +0000
commitd9c526cdbba649e97c73a5bc4367a272b53c2986 (patch)
tree4a2d88c01e1f92574fa750a91280dacd4c1a198d /rts
parent6eee9f878a34f4b3ea4b3b3435a1f9b5beae6210 (diff)
downloadhaskell-d9c526cdbba649e97c73a5bc4367a272b53c2986.tar.gz
Fix symbol macro names in Linker.c
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 7c1cd40e85..21192620c8 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4674,7 +4674,7 @@ static void machoInitSymbolsWithoutUnderscore()
void **p = symbolsWithoutUnderscore;
__asm__ volatile(".globl _symbolsWithoutUnderscore\n.data\n_symbolsWithoutUnderscore:");
-#undef Sym
+#undef SymI_NeedsProto
#define SymI_NeedsProto(x) \
__asm__ volatile(".long " # x);
@@ -4682,13 +4682,13 @@ static void machoInitSymbolsWithoutUnderscore()
__asm__ volatile(".text");
-#undef Sym
+#undef SymI_NeedsProto
#define SymI_NeedsProto(x) \
ghciInsertStrHashTable("(GHCi built-in symbols)", symhash, #x, *p++);
RTS_MACHO_NOUNDERLINE_SYMBOLS
-#undef Sym
+#undef SymI_NeedsProto
}
#endif