[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/42] sdl2: baum build fix
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 02/42] sdl2: baum build fix |
Date: |
Tue, 28 Jan 2014 10:56:55 +0100 |
---
backends/baum.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backends/baum.c b/backends/baum.c
index 1132899..665107f 100644
--- a/backends/baum.c
+++ b/backends/baum.c
@@ -566,7 +566,7 @@ CharDriverState *chr_baum_init(void)
BaumDriverState *baum;
CharDriverState *chr;
brlapi_handle_t *handle;
-#ifdef CONFIG_SDL
+#if defined(CONFIG_SDL) && SDL_COMPILEDVERSION < SDL_VERSIONNUM(2, 0, 0)
SDL_SysWMinfo info;
#endif
int tty;
@@ -595,7 +595,7 @@ CharDriverState *chr_baum_init(void)
goto fail;
}
-#ifdef CONFIG_SDL
+#if defined(CONFIG_SDL) && SDL_COMPILEDVERSION < SDL_VERSIONNUM(2, 0, 0)
memset(&info, 0, sizeof(info));
SDL_VERSION(&info.version);
if (SDL_GetWMInfo(&info))
--
1.8.3.1
- [Qemu-devel] [PATCH 37/42] input: add input_mouse_mode tracepoint, (continued)
- [Qemu-devel] [PATCH 37/42] input: add input_mouse_mode tracepoint, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 41/42] input: move do_mouse_set to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 07/42] input: qapi: add unmapped key, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 29/42] input: keyboard: switch cocoa ui to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 19/42] input: mouse: add helpers functions to core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 28/42] input: mouse: switch monitor to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 42/42] input: remove index_from_keycode (no users), Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 30/42] input: mouse: switch cocoa ui to new core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 10/42] input: keyboard: add helper functions to core, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 02/42] sdl2: baum build fix,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 38/42] sdl2: simplify keymap handling, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 39/42] sdl2: codestyle fixups, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 08/42] input: qapi: add pause key, Gerd Hoffmann, 2014/01/28
- [Qemu-devel] [PATCH 24/42] input: mouse: switch sdl ui to new core, Gerd Hoffmann, 2014/01/28
- Re: [Qemu-devel] [PULL 00/42] rework input handling, sdl2 support, Peter Maydell, 2014/01/30