[project @ 2004-10-14 14:58:37 by simonmar]
[ghc-hetmet.git] / ghc / rts / Signals.h
index 3318101..09ecec0 100644 (file)
@@ -1,5 +1,4 @@
 /* -----------------------------------------------------------------------------
- * $Id: Signals.h,v 1.11 2003/04/01 15:05:22 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -29,10 +28,14 @@ extern void markSignalHandlers (evac_fn evac);
 extern void initDefaultHandlers(void);
 
 extern void handleSignalsInThisThread(void);
+extern void handleSignalsInPrevThread(void);
 
-#else
+#elif defined(mingw32_TARGET_OS)
+#define RTS_USER_SIGNALS 1
+#include "win32/ConsoleHandler.h"
 
+#else /* PAR */
 #define signals_pending() (rtsFalse)
 #define handleSignalsInThisThread() /* nothing */
 
-#endif /* !PAR && !mingw32_TARGET_OS */
+#endif /* PAR */