diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-22 16:18:33 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-22 16:18:33 +0000 |
commit | d268de04f29f8f6ad4523958e55fc5b55395eabc (patch) | |
tree | f2bcb9ec44219011a764ee2be768bdb8f3a9e26e /vl.c | |
parent | 9a717b55df29b2b0dd0553ccfa656671bad043d1 (diff) |
Fix build with --disable-sdl
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6393 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5589,10 +5589,11 @@ int main(int argc, char **argv, char **envp) if (vnc_display_open(ds, vnc_display) < 0) exit(1); } - if (sdl || !vnc_display) #if defined(CONFIG_SDL) + if (sdl || !vnc_display) sdl_display_init(ds, full_screen, no_frame); #elif defined(CONFIG_COCOA) + if (sdl || !vnc_display) cocoa_display_init(ds, full_screen); #endif } |