From: sof Date: Tue, 2 Apr 2002 15:33:34 +0000 (+0000) Subject: [project @ 2002-04-02 15:33:34 by sof] X-Git-Tag: nhc98-1-18-release~1066 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8d7f0ed5cdf85a02a1932c7ec0f5cdb01f093187;p=ghc-base.git [project @ 2002-04-02 15:33:34 by sof] don't bother defining __hscore_sigaddset() on mingw --- 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); }