aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-27 19:10:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-27 19:10:42 +0000
commit7664728bdf58f008b2e807d5d271820a8532065f (patch)
tree5a738ad5e4fb1e6b84176527ec85308865a8cf88 /vl.c
parent50443c98e4149e8cde3b371f9ed60d943d95d286 (diff)
downloadqemu-7664728bdf58f008b2e807d5d271820a8532065f.zip
qemu-7664728bdf58f008b2e807d5d271820a8532065f.tar.gz
qemu-7664728bdf58f008b2e807d5d271820a8532065f.tar.bz2
win32 compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1672 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vl.c b/vl.c
index 06d41c1..aa28032 100644
--- a/vl.c
+++ b/vl.c
@@ -1613,13 +1613,13 @@ CharDriverState *qemu_chr_open(const char *filename)
return text_console_init(&display_state);
} else if (!strcmp(filename, "null")) {
return qemu_chr_open_null();
- } else if (strstart(filename, "file:", &p)) {
+ } else
+#ifndef _WIN32
+ if (strstart(filename, "file:", &p)) {
return qemu_chr_open_file_out(p);
} else if (strstart(filename, "pipe:", &p)) {
return qemu_chr_open_pipe(p);
- } else
-#ifndef _WIN32
- if (!strcmp(filename, "pty")) {
+ } else if (!strcmp(filename, "pty")) {
return qemu_chr_open_pty();
} else if (!strcmp(filename, "stdio")) {
return qemu_chr_open_stdio();