Skip to contentSkip to conversation

[6393] Fix build with --disable-sdl

Qemu-devel Anthony Liguori 1 participant 1 message Jan 22, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6393

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6393
Author:   aliguori
Date:     2009-01-22 16:18:33 +0000 (Thu, 22 Jan 2009)

Log Message:
-----------
Fix build with --disable-sdl

Modified Paths:
--------------
trunk/vl.c

Modified: trunk/vl.c
===================================================================

vl.c +2 -1
@@ -5589,10 +5589,11 @@
                     if (vnc_display_open(ds, vnc_display) < 0)
                         exit(1);
                 }
+#if defined(CONFIG_SDL)
                 if (sdl || !vnc_display)
-#if defined(CONFIG_SDL)
                     sdl_display_init(ds, full_screen, no_frame);
 #elif defined(CONFIG_COCOA)
+                if (sdl || !vnc_display)
                     cocoa_display_init(ds, full_screen);
 #endif
             }