diff options
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qemu-char.c b/qemu-char.c index 6a3952ccdf..33f2237540 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2087,11 +2087,12 @@ static void tcp_chr_read(void *opaque) } } -CharDriverState *qemu_chr_open_eventfd(int eventfd){ - +#ifndef _WIN32 +CharDriverState *qemu_chr_open_eventfd(int eventfd) +{ return qemu_chr_open_fd(eventfd, eventfd); - } +#endif static void tcp_chr_connect(void *opaque) { |