changeset 17634:8dc8353c4ee8

fix compilation without openal
author aurel
date Thu, 16 Feb 2006 22:35:04 +0000
parents e0ef5688cce7
children db13b7295651
files libao2/audio_out.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/audio_out.c	Thu Feb 16 20:45:25 2006 +0000
+++ b/libao2/audio_out.c	Thu Feb 16 22:35:04 2006 +0000
@@ -31,7 +31,9 @@
 #ifdef USE_JACK
 extern ao_functions_t audio_out_jack;
 #endif
+#ifdef USE_OPENAL
 extern ao_functions_t audio_out_openal;
+#endif
 extern ao_functions_t audio_out_null;
 #ifdef HAVE_ALSA5
  extern ao_functions_t audio_out_alsa5;
@@ -121,7 +123,9 @@
 #ifdef HAVE_SDL
         &audio_out_sdl,
 #endif
+#ifdef USE_OPENAL
         &audio_out_openal,
+#endif
         &audio_out_null,
 // should not be auto-selected:
 	&audio_out_pcm,