summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Rts.h6
-rw-r--r--includes/rts/storage/Closures.h2
2 files changed, 6 insertions, 2 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
-------------------------------------------------------------------------- */
diff --git a/includes/rts/storage/Closures.h b/includes/rts/storage/Closures.h
index fcba1ebeb6..2302b7d2a1 100644
--- a/includes/rts/storage/Closures.h
+++ b/includes/rts/storage/Closures.h
@@ -306,9 +306,7 @@ typedef struct {
StgHeader header;
StgClosure *volatile current_value;
StgTVarWatchQueue *volatile first_watch_queue_entry;
-#if defined(THREADED_RTS)
StgInt volatile num_updates;
-#endif
} StgTVar;
typedef struct {