[project @ 2002-04-02 15:33:34 by sof]
authorsof <unknown>
Tue, 2 Apr 2002 15:33:34 +0000 (15:33 +0000)
committersof <unknown>
Tue, 2 Apr 2002 15:33:34 +0000 (15:33 +0000)
don't bother defining __hscore_sigaddset() on mingw

include/HsBase.h

index 1d4d3d9..f15fc83 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: HsBase.h,v 1.6 2002/03/26 23:50:56 sof Exp $
+ * $Id: HsBase.h,v 1.7 2002/04/02 15:33:34 sof Exp $
  *
  * (c) The University of Glasgow 2001-2002
  *
@@ -179,9 +179,11 @@ StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
 #define INLINE extern inline
 #endif
 
+#if !defined(mingw32_TARGET_OS)
 INLINE int
 __hscore_sigaddset( sigset_t * set, int s )
 { return sigaddset(set,s); }
+#endif
 
 INLINE int __hscore_s_isreg(m)  { return S_ISREG(m);  }
 INLINE int __hscore_s_isdir(m)  { return S_ISDIR(m);  }