Commit 1b5a87d5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

pulse: try to fix compilation with < 0.9.16 versions

parent f8dd02f9
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <pulse/pulseaudio.h> #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 #ifdef X_DISPLAY_MISSING
# error Xlib required due to PulseAudio bug 799! # error Xlib required due to PulseAudio bug 799!
#endif #endif
...@@ -124,7 +124,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -124,7 +124,7 @@ static int Open ( vlc_object_t *p_this )
struct pa_channel_map map; struct pa_channel_map map;
char * p_client_name; 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 ) ) if( !vlc_xlib_init( p_this ) )
return VLC_EGENERIC; return VLC_EGENERIC;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment