Skip to content

Commit

Permalink
Fix build on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Lynagh committed Jun 22, 2013
1 parent f792ba4 commit 3660ef9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/rts/storage/SMPClosureOps.h
Expand Up @@ -73,6 +73,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; }
Expand Down

0 comments on commit 3660ef9

Please sign in to comment.