summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-06-01 07:25:26 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-06-01 07:25:26 +0000
commit889fdd762e6ec10b0acb74fc975b470d252b7242 (patch)
tree7e54d2c372f895ab791250e38725bce0ecbb870e
parent466900e75d165056a83a6f1ad6af6001ed64b783 (diff)
downloadxine-lib-889fdd762e6ec10b0acb74fc975b470d252b7242.tar.gz
xine-lib-889fdd762e6ec10b0acb74fc975b470d252b7242.tar.bz2
Fixed compilation with 0.5 library.
CVS patchset: 110 CVS date: 2001/06/01 07:25:26
-rw-r--r--src/audio_out/audio_alsa_out.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index 88edd99b8..3e7187b7a 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_alsa_out.c,v 1.5 2001/05/31 18:36:08 joachim_koenig Exp $
+ * $Id: audio_alsa_out.c,v 1.6 2001/06/01 07:25:26 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -35,6 +35,8 @@
#include <sys/ioctl.h>
#include <inttypes.h>
+#if (SND_LIB_MAJOR >= 0) && (SND_LIB_MINOR >= 9)
+
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define error(...) do {\
fprintf(stderr, "XINE lib %s:%d:(%s) ", __FILE__, __LINE__, __FUNCTION__); \
@@ -540,3 +542,4 @@ ao_info_t *get_audio_out_plugin_info() {
return &ao_info_alsa;
}
+#endif /*(SND_LIB_MAJOR >= 0) && (SND_LIB_MINOR >= 9) */