diff options
author | Chris Robinson <[email protected]> | 2016-02-22 08:12:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-02-22 08:12:09 -0800 |
commit | 2c6e59c4ca50f186d19e1fd95fe058ea352c8900 (patch) | |
tree | 1ccff210f13248570b8ab1fe046099a330711d93 /Alc/backends | |
parent | 840fa1b5e8fe8c677a3cb3ed1178c222848317e0 (diff) |
Fix when ESTRPIPE and EPIPE are the same
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/alsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c index 43c46484..b5715e18 100644 --- a/Alc/backends/alsa.c +++ b/Alc/backends/alsa.c @@ -588,7 +588,9 @@ static int ALCplaybackAlsa_mixerNoMMapProc(void *ptr) { case -EAGAIN: continue; +#if ESTRPIPE != EPIPE case -ESTRPIPE: +#endif case -EPIPE: case -EINTR: ret = snd_pcm_recover(self->pcmHandle, ret, 1); |