[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] new module 'sigprocmask'
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] new module 'sigprocmask' |
Date: |
Mon, 16 Oct 2006 19:49:58 +0200 |
User-agent: |
KMail/1.9.1 |
Eric Blake wrote:
> I'm getting failures on mingw:
>
> In file included from ../../lib/fatal-signal.c:30:
> ../../lib/sigprocmask.h:34: error: conflicting types for 'sigset_t'
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-
> mingw32/include/sys/types.h:95: error: previous declaration of 'sigset_t' was
> here
>
> The mingw <sys/types.h> system header contains this snippet:
>
> #ifndef _SIGSET_T_
> #define _SIGSET_T_
> typedef int _sigset_t;
>
> #ifndef _NO_OLDNAMES
> typedef _sigset_t sigset_t;
> #endif
> #endif /* Not _SIGSET_T_ */
Thanks for this info. I had cross-compiled the code to mingw, and had not
encountered this problem. Oh well. I'll deal with it.
Bruno
Re: new module 'sigprocmask', Eric Blake, 2006/10/17