string

Ulrich Drepper drepper@cygnus.com
Tue Feb 10 09:57:00 GMT 1998


hjl@lucon.org (H.J. Lu) writes:

> --- sysdeps/pthread/pthread.h.orig	Mon Feb  2 09:31:30 1998
> +++ sysdeps/pthread/pthread.h	Sun Feb  1 12:00:00 1998
> @@ -535,8 +535,10 @@
>  /* Modify the signal mask for the calling thread.  The arguments have
>     the same meaning as for sigprocmask(2). */
>  
> +#if __sigset_t_defined
>  extern int pthread_sigmask __P ((int __how, __const sigset_t *__newmask,
>  				 sigset_t *__oldmask));
> +#endif
>  
>  /* Send signal SIGNO to the given thread. */

I've now installed a more correct patch.  In signal.h sigset_t must
always be defined if __need_sigset_t is defined, even if USE_POSIX is
not defined.

-- Uli
---------------.      drepper at gnu.org ,-.    1325 Chesapeake Terrace
Ulrich Drepper  \    ,------------------'   \  Sunnyvale, CA, 94089 USA
Cygnus Solutions `--' drepper at cygnus.com  `-------------------------



More information about the Gcc mailing list