mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
autoconf beefup
build fixes git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@134 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ca2265f372
commit
711de8df9b
9 changed files with 264 additions and 23 deletions
|
|
@ -114,12 +114,16 @@ void pa_check_for_sigpipe(void) {
|
|||
struct sigaction sa;
|
||||
sigset_t set;
|
||||
|
||||
#ifdef HAVE_PTHREAD
|
||||
if (pthread_sigmask(SIG_SETMASK, NULL, &set) < 0) {
|
||||
#endif
|
||||
if (sigprocmask(SIG_SETMASK, NULL, &set) < 0) {
|
||||
fprintf(stderr, __FILE__": sigprocmask() failed: %s\n", strerror(errno));
|
||||
return;
|
||||
}
|
||||
#ifdef HAVE_PTHREAD
|
||||
}
|
||||
#endif
|
||||
|
||||
if (sigismember(&set, SIGPIPE))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue