Commit fb684b43 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix sloppy conditionals

parent 71899d3e
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
* Note the syntax is slightly different to the C version of this macro. * Note the syntax is slightly different to the C version of this macro.
*/ */
#ifdef DEBUG #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 #else
#define IF_DEBUG(c,s) /* nothing */ #define IF_DEBUG(c,s) /* nothing */
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment