projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71899d3
)
fix sloppy conditionals
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 20 Jun 2006 15:10:39 +0000
(15:10 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 20 Jun 2006 15:10:39 +0000
(15:10 +0000)
includes/Cmm.h
patch
|
blob
|
history
diff --git
a/includes/Cmm.h
b/includes/Cmm.h
index
783b0e4
..
d95002c
100644
(file)
--- a/
includes/Cmm.h
+++ b/
includes/Cmm.h
@@
-214,7
+214,7
@@
* Note the syntax is slightly different to the C version of this macro.
*/
#ifdef DEBUG
* Note the syntax is slightly different to the C version of this macro.
*/
#ifdef DEBUG
-#define IF_DEBUG(c,s) if (RtsFlags_DebugFlags_##c(RtsFlags)) { s; }
+#define IF_DEBUG(c,s) if (RtsFlags_DebugFlags_##c(RtsFlags) != 0::I32) { s; }
#else
#define IF_DEBUG(c,s) /* nothing */
#endif
#else
#define IF_DEBUG(c,s) /* nothing */
#endif