diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:09:46 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 18:09:46 +0000 |
commit | 7dcf4e45963b2aff840ea53bde4012e3c6cac9f8 (patch) | |
tree | fe1a7053b879607c652cc9b6f4a38c72b1aa9439 /polyp/core.c | |
parent | eacffc3e4d581f0fe57536e7ccfba7293623586c (diff) |
The standard declares some signals as optional. Make sure we handle
this gracefully.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@374 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/core.c')
-rw-r--r-- | polyp/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/core.c b/polyp/core.c index 539c6775..60439243 100644 --- a/polyp/core.c +++ b/polyp/core.c @@ -89,7 +89,9 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) { pa_random(&c->cookie, sizeof(c->cookie)); +#ifdef SIGPIPE pa_check_signal_is_blocked(SIGPIPE); +#endif return c; } |