From 81e61ece2c8e98c3e42df4fa5074a9dff334bdfc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 13 Nov 2010 12:53:14 +0000 Subject: Fix up the ifdefs in Task.c --- rts/Task.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rts/Task.c') diff --git a/rts/Task.c b/rts/Task.c index 8994ad153e..a15758c4f1 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -359,6 +359,8 @@ static void *taskId(Task *task) #endif } +#endif + #if defined(THREADED_RTS) static void OSThreadProcAttr @@ -431,6 +433,8 @@ interruptWorkerTask (Task *task) #endif /* THREADED_RTS */ +#ifdef DEBUG + void printAllTasks(void); void -- cgit v1.2.1