summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-10-31 12:38:06 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-11-01 10:13:16 +0000
commit2073e3ecc5dd0e37e097bd331f19a782eb96785d (patch)
treed52b28a45e585ac641af72e0003a941746dbe564 /includes
parent232f1a2702684fe7f82a084213714adfa6162392 (diff)
downloadhaskell-2073e3ecc5dd0e37e097bd331f19a782eb96785d.tar.gz
Don't clearNurseries() in parallel with -debug
It makes sanity-checking fail.
Diffstat (limited to 'includes')
-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
-------------------------------------------------------------------------- */