From: Liu Yu <yu.liu@freescale.com>
To: qemu-devel@nongnu.org
Cc: Liu Yu <yu.liu@freescale.com>
Subject: [Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit
Date: Thu, 22 Jan 2009 10:51:51 +0800 [thread overview]
Message-ID: <1232592711-2534-1-git-send-email-yu.liu@freescale.com> (raw)
ppcemb KVM mode hasn't support graphic yet, so doesn't need sdl.
Thanks to Ina's <Ian.Jackson@eu.citrix.com> suggestion.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
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
reply other threads:[~2009-01-22 3:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1232592711-2534-1-git-send-email-yu.liu@freescale.com \
--to=yu.liu@freescale.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).