summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-29 18:55:03 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-30 09:18:44 +0100
commitdbb5f3802e20af9a9971aa98d27c58839ea79a94 (patch)
tree318a0ac99bebba084df5ca2ab33faa8cc45052ba
parent462016d2da393b743ba97552521378e7de2a4c7f (diff)
downloadqemu-dbb5f3802e20af9a9971aa98d27c58839ea79a94.zip
win32: add weak version of qemu_fd_register
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--oslib-win32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/oslib-win32.c b/oslib-win32.c
index 51b33e8b20..9ca83df011 100644
--- a/oslib-win32.c
+++ b/oslib-win32.c
@@ -150,3 +150,8 @@ int qemu_get_thread_id(void)
{
return GetCurrentThreadId();
}
+
+static void default_qemu_fd_register(int fd)
+{
+}
+QEMU_WEAK_ALIAS(qemu_fd_register, default_qemu_fd_register);