]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Fix mingw32 build
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 15 Aug 2010 09:46:24 +0000 (09:46 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 15 Aug 2010 09:46:24 +0000 (09:46 +0000)
Don't define qemu_chr_open_eventfd() on Windows.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-char.c

index 6a3952ccdf9803dd13185a891ca8ebf3b41fe7f3..33f2237540ef6fbcca2d63f16fabc3bcf3b460b1 100644 (file)
@@ -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)
 {