GNU Pth has some fragile kludges that were broken by r189828.

I've discussed this with the Pth maintainer and no clear solution
has emerged on the ports side of things, so for now, hack around
the issue in signal.h.
This commit is contained in:
David Schultz 2009-04-11 16:57:50 +00:00
parent fd409594c6
commit 84997ef7b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190943

View file

@ -72,8 +72,10 @@ int raise(int);
#if __POSIX_VISIBLE || __XSI_VISIBLE
int kill(__pid_t, int);
#ifndef _PTH_PTHREAD_H_ /* XXX kludge to work around GNU Pth brokenness */
int pthread_kill(__pthread_t, int);
int pthread_sigmask(int, const __sigset_t *, __sigset_t *);
#endif
int sigaction(int, const struct sigaction * __restrict,
struct sigaction * __restrict);
int sigaddset(sigset_t *, int);