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 | 1187050cbeeb6ad158cde7ca5d9eac7da482204e (patch) | |
tree | f2bcb9ec44219011a764ee2be768bdb8f3a9e26e /vl.c | |
parent | 26d0b93af7b9699ffe7955017c24f66e91a90619 (diff) | |
download | qemu-1187050cbeeb6ad158cde7ca5d9eac7da482204e.tar.gz qemu-1187050cbeeb6ad158cde7ca5d9eac7da482204e.tar.bz2 qemu-1187050cbeeb6ad158cde7ca5d9eac7da482204e.zip |
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 } |