alsa: Use EPIPE instead of ESTRPIPE if the latter does not exist

NetBSD does not have ESTRPIPE.

https://bugzilla.gnome.org/show_bug.cgi?id=740952
This commit is contained in:
Thomas Klausner 2014-12-01 09:50:24 +01:00 committed by Sebastian Dröge
parent 90eb93c2ef
commit a4b94e6c69
2 changed files with 8 additions and 0 deletions

View file

@ -52,6 +52,10 @@
#include <gst/audio/gstaudioiec61937.h>
#include <gst/gst-i18n-plugin.h>
#ifndef ESTRPIPE
#define ESTRPIPE EPIPE
#endif
#define DEFAULT_DEVICE "default"
#define DEFAULT_DEVICE_NAME ""
#define DEFAULT_CARD_NAME ""

View file

@ -49,6 +49,10 @@
#include <gst/gst-i18n-plugin.h>
#ifndef ESTRPIPE
#define ESTRPIPE EPIPE
#endif
#define DEFAULT_PROP_DEVICE "default"
#define DEFAULT_PROP_DEVICE_NAME ""
#define DEFAULT_PROP_CARD_NAME ""