From 653e325e08c5f632aa194f9239e938faca5abba5 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 3 Aug 2009 13:19:33 +0000 Subject: Windows build fixes --- includes/rts/Threads.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'includes/rts/Threads.h') diff --git a/includes/rts/Threads.h b/includes/rts/Threads.h index 06a0ed11dc..4f343b804c 100644 --- a/includes/rts/Threads.h +++ b/includes/rts/Threads.h @@ -34,7 +34,14 @@ StgRegTable * resumeThread (void *); // int cmp_thread (StgPtr tso1, StgPtr tso2); int rts_getThreadId (StgPtr tso); + +#if !defined(mingw32_HOST_OS) pid_t forkProcess (HsStablePtr *entry); +#else +pid_t forkProcess (HsStablePtr *entry) + GNU_ATTRIBUTE(__noreturn__); +#endif + HsBool rtsSupportsBoundThreads (void); // The number of Capabilities -- cgit v1.2.1