[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed (MinGW)
From: |
Tim Rühsen |
Subject: |
Re: Help needed (MinGW) |
Date: |
Thu, 4 Jan 2018 09:49:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
With Best Regards, Tim
On 01/03/2018 11:42 PM, Bruno Haible wrote:
> Tim Ruehsen wrote:
>> In the -E output there is
>> # 593 "./signal.h" 3
>> extern int 0
>>
>> ;
>>
>> Line #593-594 in signal.h is:
>> _GL_FUNCDECL_SYS (pthread_sigmask, int,
>> (int how, const sigset_t *new_mask, sigset_t
>> *old_mask));
>
> It looks like there is a definition
> #define pthread_sigmask(how,newmask,oldmask) 0
> somewhere. Gnulib does not contain such a definition of pthread_sigmask.
> Therefore I guess that it comes from the mingw header files. How does
> the definition/declaration of pthread_sigmask look like, in the mingw header
> files?
Content of /usr/share/mingw-w64/include/pthread_signal.h:
#ifndef WIN_PTHREADS_SIGNAL_H
#define WIN_PTHREADS_SIGNAL_H
/* Windows has rudimentary signals support. */
#define pthread_sigmask(H, S1, S2) 0
#endif /* WIN_PTHREADS_SIGNAL_H */
Regards, Tim
signature.asc
Description: OpenPGP digital signature
- Help needed (MinGW), Tim Rühsen, 2018/01/03
- Re: Help needed (MinGW), Bruno Haible, 2018/01/03
- Re: Help needed (MinGW), Tim Ruehsen, 2018/01/03
- Re: Help needed (MinGW), Bruno Haible, 2018/01/03
- Re: Help needed (MinGW),
Tim Rühsen <=
- Re: Help needed (MinGW), Bruno Haible, 2018/01/04
- Re: Help needed (MinGW), Tim Rühsen, 2018/01/04
- Re: Help needed (MinGW), Bruno Haible, 2018/01/04
- Re: Help needed (MinGW), Tim Rühsen, 2018/01/04