提交 68c18d1c 编写于 作者: B Blue Swirl

Fix mingw32 build

Don't define qemu_chr_open_eventfd() on Windows.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 cdfb017e
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册