From 889fdd762e6ec10b0acb74fc975b470d252b7242 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 1 Jun 2001 07:25:26 +0000 Subject: Fixed compilation with 0.5 library. CVS patchset: 110 CVS date: 2001/06/01 07:25:26 --- src/audio_out/audio_alsa_out.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 #include +#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) */ -- cgit v1.2.3