From 3cee084cdc822249fd535b6c02c7112f63848c4d Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Tue, 17 Jul 2012 15:50:56 -0700 Subject: Remove link dependency on SDL_audio.c which we don't build Change-Id: Iac0a43a0ccc29bf891f37117fa856ca36e28c4de --- distrib/sdl-1.2.15/src/video/SDL_video.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distrib/sdl-1.2.15/src/video/SDL_video.c b/distrib/sdl-1.2.15/src/video/SDL_video.c index 43c1826..f4f4407 100644 --- a/distrib/sdl-1.2.15/src/video/SDL_video.c +++ b/distrib/sdl-1.2.15/src/video/SDL_video.c @@ -1689,8 +1689,9 @@ void SDL_GL_Unlock() #endif } - +#if SDL_AUDIO_DRIVER_PULSE void SDL_Audio_SetCaption(const char *caption); +#endif /* * Sets/Gets the title and icon text of the display window, if any. @@ -1718,8 +1719,10 @@ void SDL_WM_SetCaption (const char *title, const char *icon) } } +#if SDL_AUDIO_DRIVER_PULSE /* PulseAudio can make use of this information. */ SDL_Audio_SetCaption(title); +#endif } void SDL_WM_GetCaption (char **title, char **icon) -- cgit v1.1