projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
warning fix: don't redefine BLOCKS_PER_MBLOCK
[ghc-hetmet.git]
/
includes
/
rts
/
storage
/
Block.h
diff --git
a/includes/rts/storage/Block.h
b/includes/rts/storage/Block.h
index
4fb5a96
..
f39b99c
100644
(file)
--- a/
includes/rts/storage/Block.h
+++ b/
includes/rts/storage/Block.h
@@
-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 */