projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1cdf5
)
fix a _TARGET_ARCH that should be _HOST_ARCH
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 24 May 2006 12:20:22 +0000
(12:20 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 24 May 2006 12:20:22 +0000
(12:20 +0000)
rts/Adjustor.c
patch
|
blob
|
history
diff --git
a/rts/Adjustor.c
b/rts/Adjustor.c
index
f3e5bfe
..
fc4182e
100644
(file)
--- a/
rts/Adjustor.c
+++ b/
rts/Adjustor.c
@@
-1028,7
+1028,7
@@
freeHaskellFunctionPtr(void* ptr)
} else {
freeStablePtr(*((StgStablePtr*)((unsigned char*)ptr + 0x02)));
}
-#elif defined(x86_TARGET_ARCH) && defined(darwin_HOST_OS)
+#elif defined(x86_HOST_ARCH) && defined(darwin_HOST_OS)
if ( *(unsigned char*)ptr != 0xe8 ) {
errorBelch("freeHaskellFunctionPtr: not for me, guv! %p\n", ptr);
return;