src/audio/SDL_audio.c
branchSDL-1.2
changeset 11967 e2982541c99c
parent 6935 b6b2829cd7ef
     1.1 --- a/src/audio/SDL_audio.c	Sat Mar 24 22:28:31 2018 +0300
     1.2 +++ b/src/audio/SDL_audio.c	Sat Mar 24 22:29:42 2018 +0300
     1.3 @@ -310,10 +310,12 @@
     1.4  		SDL_AudioQuit();
     1.5  	}
     1.6  
     1.7 +#if SDL_AUDIO_DRIVER_PULSE
     1.8  	/* SDL 2.0 uses the name "pulseaudio", so we'll support both */
     1.9  	if ( driver_name && SDL_strcasecmp(driver_name, "pulseaudio") == 0 ) {
    1.10  		driver_name = "pulse";
    1.11  	}
    1.12 +#endif /* */
    1.13  
    1.14  	/* Select the proper audio driver */
    1.15  	audio = NULL;