diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-08-15 09:46:24 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-08-15 09:46:24 +0000 |
commit | 68c18d1ccff03ef4763bd7c0cbb6fabc4fd761cb (patch) | |
tree | cf81c273d091677743952f439f3a462720b6ba89 /qemu-char.c | |
parent | cdfb017eb04a6a635ff4d42a5269119121f28ed6 (diff) |
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.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) { |