mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-08 16:07:39 -06:00
win32 compile fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1672 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
50443c98e4
commit
7664728bdf
1 changed files with 4 additions and 4 deletions
8
vl.c
8
vl.c
|
@ -1613,13 +1613,13 @@ CharDriverState *qemu_chr_open(const char *filename)
|
||||||
return text_console_init(&display_state);
|
return text_console_init(&display_state);
|
||||||
} else if (!strcmp(filename, "null")) {
|
} else if (!strcmp(filename, "null")) {
|
||||||
return qemu_chr_open_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);
|
return qemu_chr_open_file_out(p);
|
||||||
} else if (strstart(filename, "pipe:", &p)) {
|
} else if (strstart(filename, "pipe:", &p)) {
|
||||||
return qemu_chr_open_pipe(p);
|
return qemu_chr_open_pipe(p);
|
||||||
} else
|
} else if (!strcmp(filename, "pty")) {
|
||||||
#ifndef _WIN32
|
|
||||||
if (!strcmp(filename, "pty")) {
|
|
||||||
return qemu_chr_open_pty();
|
return qemu_chr_open_pty();
|
||||||
} else if (!strcmp(filename, "stdio")) {
|
} else if (!strcmp(filename, "stdio")) {
|
||||||
return qemu_chr_open_stdio();
|
return qemu_chr_open_stdio();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue