X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRts.h;h=df8cb469009d5a521b1edb3f8004aa318d75104b;hb=7ea43827e739555c23f2b802a6a5eaf2a65570ae;hp=eba8146fd2efd9284c3e7ffbca0ca869e036a93b;hpb=6015a94f9108a502150565577b66c23650796639;p=ghc-hetmet.git diff --git a/includes/Rts.h b/includes/Rts.h index eba8146..df8cb46 100644 --- a/includes/Rts.h +++ b/includes/Rts.h @@ -258,7 +258,11 @@ TICK_VAR(2) -------------------------------------------------------------------------- */ #ifdef DEBUG +#if IN_STG_CODE +#define IF_DEBUG(c,s) if (RtsFlags[0].DebugFlags.c) { s; } +#else #define IF_DEBUG(c,s) if (RtsFlags.DebugFlags.c) { s; } +#endif #else #define IF_DEBUG(c,s) doNothing() #endif