summaryrefslogtreecommitdiff
path: root/rts/Timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Timer.c')
-rw-r--r--rts/Timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Timer.c b/rts/Timer.c
index a8b0e20a5f..8e2fb4a835 100644
--- a/rts/Timer.c
+++ b/rts/Timer.c
@@ -65,7 +65,7 @@ handle_tick(int unused STG_UNUSED)
if (ticks_to_gc == 0) {
if (RtsFlags.GcFlags.doIdleGC) {
recent_activity = ACTIVITY_INACTIVE;
-#ifdef THREADED_RTS
+#if defined(THREADED_RTS)
wakeUpRts();
// The scheduler will call stopTimer() when it has done
// the GC.
@@ -76,7 +76,7 @@ handle_tick(int unused STG_UNUSED)
// but only if we're not profiling (e.g. passed -h or -p RTS
// flags). If we are profiling we need to keep the timer active
// so that samples continue to be collected.
-#ifdef PROFILING
+#if defined(PROFILING)
if (!(RtsFlags.ProfFlags.doHeapProfile
|| RtsFlags.CcFlags.doCostCentres)) {
stopTimer();