[commit: ghc] master: Fix build on OS X (3660ef9)
Ian Lynagh
igloo at earth.li
Sat Jun 22 16:35:15 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/3660ef9554de9953cb27d4e8dd007a3ab499abab
>---------------------------------------------------------------
commit 3660ef9554de9953cb27d4e8dd007a3ab499abab
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Jun 22 15:06:29 2013 +0100
Fix build on OS X
>---------------------------------------------------------------
includes/rts/storage/SMPClosureOps.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/includes/rts/storage/SMPClosureOps.h b/includes/rts/storage/SMPClosureOps.h
index ffa2fe8..2b058fe 100644
--- a/includes/rts/storage/SMPClosureOps.h
+++ b/includes/rts/storage/SMPClosureOps.h
@@ -74,6 +74,10 @@ EXTERN_INLINE StgInfoTable *tryLockClosure(StgClosure *p)
#else /* !THREADED_RTS */
EXTERN_INLINE StgInfoTable *
+reallyLockClosure(StgClosure *p)
+{ return (StgInfoTable *)p->header.info; }
+
+EXTERN_INLINE StgInfoTable *
lockClosure(StgClosure *p)
{ return (StgInfoTable *)p->header.info; }
More information about the ghc-commits
mailing list