summaryrefslogtreecommitdiff
path: root/includes/Rts.h
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-01 14:32:20 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-01 14:32:20 +0000
commitd163845c7cade0892db4325e430a84a350ff147c (patch)
tree09da9879369f97dbfb777631e047b5296e0f1f40 /includes/Rts.h
parent229323898b0809047b19b79c181085430cce9850 (diff)
parent225172e68980ce948e2fd00aa2d8a81657207525 (diff)
downloadhaskell-d163845c7cade0892db4325e430a84a350ff147c.tar.gz
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Diffstat (limited to 'includes/Rts.h')
-rw-r--r--includes/Rts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/Rts.h b/includes/Rts.h
index b31776828f..edb48c1a91 100644
--- a/includes/Rts.h
+++ b/includes/Rts.h
@@ -306,6 +306,12 @@ TICK_VAR(2)
#define DEBUG_ONLY(s) doNothing()
#endif
+#ifdef DEBUG
+#define DEBUG_IS_ON 1
+#else
+#define DEBUG_IS_ON 0
+#endif
+
/* -----------------------------------------------------------------------------
Useful macros and inline functions
-------------------------------------------------------------------------- */