OSDN Git Service

win32: add weak version of qemu_fd_register
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Oct 2012 17:55:03 +0000 (18:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Oct 2012 08:18:44 +0000 (09:18 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
oslib-win32.c

index 51b33e8..9ca83df 100644 (file)
@@ -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);