From 68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 15 Aug 2010 09:46:24 +0000 Subject: Fix mingw32 build Don't define qemu_chr_open_eventfd() on Windows. Signed-off-by: Blue Swirl --- qemu-char.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'qemu-char.c') 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) { -- cgit v1.2.3