[project @ 2003-07-30 10:38:42 by simonmar]
[ghc-hetmet.git] / ghc / rts / Signals.h
index 4db8086..3318101 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Signals.h,v 1.9 2003/01/25 15:54:50 wolfgang Exp $
+ * $Id: Signals.h,v 1.11 2003/04/01 15:05:22 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -7,7 +7,8 @@
  *
  * ---------------------------------------------------------------------------*/
 
-#ifndef PAR
+#if !defined(PAR) && !defined(mingw32_TARGET_OS)
+#define RTS_USER_SIGNALS 1
 
 extern StgPtr pending_handler_buf[];
 extern StgPtr *next_pending_handler;
@@ -32,5 +33,6 @@ extern void handleSignalsInThisThread(void);
 #else
 
 #define signals_pending() (rtsFalse)
+#define handleSignalsInThisThread() /* nothing */
 
-#endif /* PAR */
+#endif /* !PAR && !mingw32_TARGET_OS */