warning fix: don't redefine BLOCKS_PER_MBLOCK
[ghc-hetmet.git] / includes / rts / storage / Block.h
index 4fb5a96..f39b99c 100644 (file)
@@ -149,7 +149,9 @@ EXTERN_INLINE bdescr *Bdescr(StgPtr p)
 
 /* Number of usable blocks in a megablock */
 
+#ifndef CMINUSMINUS // already defined in DerivedConstants.h
 #define BLOCKS_PER_MBLOCK ((MBLOCK_SIZE - FIRST_BLOCK_OFF) / BLOCK_SIZE)
+#endif
 
 /* How many blocks in this megablock group */