aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-08-15 09:46:24 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-08-15 09:46:24 +0000
commit68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb (patch)
treecf81c273d091677743952f439f3a462720b6ba89 /qemu-char.c
parentcdfb017eb04a6a635ff4d42a5269119121f28ed6 (diff)
downloadqemu-68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb.zip
qemu-68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb.tar.gz
qemu-68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb.tar.bz2
Fix mingw32 build
Don't define qemu_chr_open_eventfd() on Windows. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 6a3952c..33f2237 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)
{