# HG changeset patch # User aurel # Date 1140129304 0 # Node ID 8dc8353c4ee8e0e4723c271abbe678f9ce98f994 # Parent e0ef5688cce70f43d35dad448b69f8de96830915 fix compilation without openal diff -r e0ef5688cce7 -r 8dc8353c4ee8 libao2/audio_out.c --- 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,