Fix compile error when none of the defines gets hit
PATCH 1/1 Fix compile error when none of the defines gets hit
ppcemb KVM mode hasn't support graphic yet, so doesn't need sdl.
Thanks to Ina's <[email protected]> suggestion.
Signed-off-by Liu Yu <[email protected]>
--- vl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
vl.c +2 -1
@@ -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);
Signature · 1 line
1.5.4