alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
345 stars 176 forks source link

ESTRPIPE definition change, and add OpenBSD support to test code #298

Closed jg1uaa closed 1 year ago

jg1uaa commented 1 year ago

In alsa-utils' PR#186 (https://github.com/alsa-project/alsa-utils/pull/186), alternative of ESTRPIPE will be ESPIPE instead of EPIPE. This PR is library side of that fix.

(Currently EPIPE is defined when ESTRPIPE is not defined, but this cannot distinguish original EPIPE status and replaced-from-ESTRPIPE status.)

And, test suite (test/ directory, invoked "make check") needs same change. Included OpenBSD support and fix some compiler warnings.