[project @ 2005-01-28 12:55:17 by simonmar]
[ghc-hetmet.git] / ghc / rts / Signals.h
index 93cc889..ffcac55 100644 (file)
@@ -1,5 +1,4 @@
 /* -----------------------------------------------------------------------------
- * $Id: Signals.h,v 1.12 2003/10/20 17:15:29 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -7,7 +6,7 @@
  *
  * ---------------------------------------------------------------------------*/
 
-#if !defined(PAR) && !defined(mingw32_TARGET_OS)
+#if !defined(PAR) && !defined(mingw32_HOST_OS)
 #define RTS_USER_SIGNALS 1
 
 extern StgPtr pending_handler_buf[];
@@ -29,8 +28,9 @@ extern void markSignalHandlers (evac_fn evac);
 extern void initDefaultHandlers(void);
 
 extern void handleSignalsInThisThread(void);
+extern void handleSignalsInPrevThread(void);
 
-#elif defined(mingw32_TARGET_OS)
+#elif defined(mingw32_HOST_OS)
 #define RTS_USER_SIGNALS 1
 #include "win32/ConsoleHandler.h"