diff options
Diffstat (limited to 'rts/Threads.h')
-rw-r--r-- | rts/Threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Threads.h b/rts/Threads.h index faef2cbbc8..600d4eaff0 100644 --- a/rts/Threads.h +++ b/rts/Threads.h @@ -22,7 +22,7 @@ void migrateThread (Capability *from, StgTSO *tso, Capability *to); // Wakes up a thread on a Capability (probably a different Capability // from the one held by the current Task). // -#ifdef THREADED_RTS +#if defined(THREADED_RTS) void wakeupThreadOnCapability (Capability *cap, Capability *other_cap, StgTSO *tso); @@ -42,7 +42,7 @@ W_ threadStackUnderflow (Capability *cap, StgTSO *tso); bool performTryPutMVar(Capability *cap, StgMVar *mvar, StgClosure *value); -#ifdef DEBUG +#if defined(DEBUG) void printThreadBlockage (StgTSO *tso); void printThreadStatus (StgTSO *t); void printAllThreads (void); |