summaryrefslogtreecommitdiff
path: root/ghc/rts
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-03-07 09:59:49 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-03-07 09:59:49 +0000
commitee63e6ddec3f1ceb6c1f3812320b961c1f84e928 (patch)
tree12690138a5e607da9517e9de067e2d4e3f958f5d /ghc/rts
parent646d6f52ec973d6ccef0bf3af7fc3a1291a4f418 (diff)
downloadhaskell-ee63e6ddec3f1ceb6c1f3812320b961c1f84e928.tar.gz
fix one #ifdef SMP that didn't get turned into #ifdef THREADED_RTS
Diffstat (limited to 'ghc/rts')
-rw-r--r--ghc/rts/Schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c
index 3f10e70626..578328dbcb 100644
--- a/ghc/rts/Schedule.c
+++ b/ghc/rts/Schedule.c
@@ -616,7 +616,7 @@ run_thread:
// be running again, see code below.
t->saved_errno = errno;
-#ifdef SMP
+#if defined(THREADED_RTS)
// If ret is ThreadBlocked, and this Task is bound to the TSO that
// blocked, we are in limbo - the TSO is now owned by whatever it
// is blocked on, and may in fact already have been woken up,