From 8d7f0ed5cdf85a02a1932c7ec0f5cdb01f093187 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 2 Apr 2002 15:33:34 +0000 Subject: [PATCH] [project @ 2002-04-02 15:33:34 by sof] don't bother defining __hscore_sigaddset() on mingw --- include/HsBase.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/HsBase.h b/include/HsBase.h index 1d4d3d9..f15fc83 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -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); } -- 1.7.10.4