X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=includes%2Frts%2Fstorage%2FMBlock.h;h=0943d4cec312b38d45d958d60f6a28305251acbe;hb=b3bd828c358cbd79887dbd873357e265d8d6060a;hp=03396c1fd7e776f8d27f5b6d63131e10b226a69e;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/includes/rts/storage/MBlock.h b/includes/rts/storage/MBlock.h index 03396c1..0943d4c 100644 --- a/includes/rts/storage/MBlock.h +++ b/includes/rts/storage/MBlock.h @@ -24,6 +24,11 @@ extern void *getFirstMBlock(void); extern void *getNextMBlock(void *mblock); #endif +#ifdef THREADED_RTS +// needed for HEAP_ALLOCED below +extern SpinLock gc_alloc_block_sync; +#endif + /* ----------------------------------------------------------------------------- The HEAP_ALLOCED() test.