[vlc-commits] pulse: try to fix compilation with < 0.9.16 versions
Rémi Denis-Courmont
git at videolan.org
Tue Jan 25 21:11:33 CET 2011
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 25 22:11:14 2011 +0200| [1b5a87d5786b2bcd12432cd29614558328545e26] | committer: Rémi Denis-Courmont
pulse: try to fix compilation with < 0.9.16 versions
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=1b5a87d5786b2bcd12432cd29614558328545e26
---
modules/audio_output/pulse.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 2a0eaf9..4d4fd07 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -35,7 +35,7 @@
#include <pulse/pulseaudio.h>
-#if !PA_CHECK_VERSION(0,9,22)
+#if !defined(PA_CHECK_VERSION) || !PA_CHECK_VERSION(0,9,22)
#ifdef X_DISPLAY_MISSING
# error Xlib required due to PulseAudio bug 799!
#endif
@@ -124,7 +124,7 @@ static int Open ( vlc_object_t *p_this )
struct pa_channel_map map;
char * p_client_name;
-#if !PA_CHECK_VERSION(0,9,22)
+#if !defined(PA_CHECK_VERSION) || !PA_CHECK_VERSION(0,9,22)
if( !vlc_xlib_init( p_this ) )
return VLC_EGENERIC;
#endif
More information about the vlc-commits
mailing list