[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit
From: |
Liu Yu |
Subject: |
[Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit |
Date: |
Thu, 22 Jan 2009 10:51:51 +0800 |
ppcemb KVM mode hasn't support graphic yet, so doesn't need sdl.
Thanks to Ina's <address@hidden> suggestion.
Signed-off-by: Liu Yu <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
---
vl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 045b09f..4c512a9 100644
--- a/vl.c
+++ b/vl.c
@@ -5589,12 +5589,13 @@ int main(int argc, char **argv, char **envp)
if (vnc_display_open(ds, vnc_display) < 0)
exit(1);
}
- if (sdl || !vnc_display)
+ if (sdl || !vnc_display) {
#if defined(CONFIG_SDL)
sdl_display_init(ds, full_screen, no_frame);
#elif defined(CONFIG_COCOA)
cocoa_display_init(ds, full_screen);
#endif
+ }
}
}
dpy_resize(ds);
--
1.5.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit,
Liu Yu <=