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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to