Patchwork [07/11] win32: add weak version of qemu_fd_register

login
register
mail settings
Submitter Paolo Bonzini
Date Oct. 29, 2012, 6:07 p.m.
Message ID <1351534038-15503-8-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/195112/
State New
Headers show

Comments

Paolo Bonzini - Oct. 29, 2012, 6:07 p.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 oslib-win32.c | 5 +++++
 1 file modificato, 5 inserzioni(+)

Patch

diff --git a/oslib-win32.c b/oslib-win32.c
index 51b33e8..9ca83df 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);