aboutsummaryrefslogtreecommitdiffstats
path: root/distrib
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-07-17 15:50:56 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-07-23 14:50:24 -0700
commit3cee084cdc822249fd535b6c02c7112f63848c4d (patch)
tree17e69c05e560cf2b3869c7f9c98aac220153ee29 /distrib
parentd95f84da47d4e5c1f9bce2770400fd0d61b0c0b6 (diff)
downloadexternal_qemu-3cee084cdc822249fd535b6c02c7112f63848c4d.zip
external_qemu-3cee084cdc822249fd535b6c02c7112f63848c4d.tar.gz
external_qemu-3cee084cdc822249fd535b6c02c7112f63848c4d.tar.bz2
Remove link dependency on SDL_audio.c which we don't build
Change-Id: Iac0a43a0ccc29bf891f37117fa856ca36e28c4de
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sdl-1.2.15/src/video/SDL_video.c5
1 files changed, 4 insertions, 1 deletions
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)