[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT |
Date: |
Thu, 24 Jun 2010 22:41:33 +0200 |
mingw32 does not define EPROTONOSUPPORT (which is used by
migration.c and maybe future patches), so add a
definition which uses a supported errno value.
Signed-off-by: Stefan Weil <address@hidden>
---
qemu-os-win32.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/qemu-os-win32.h b/qemu-os-win32.h
index 6323f7f..2ff9f45 100644
--- a/qemu-os-win32.h
+++ b/qemu-os-win32.h
@@ -49,4 +49,8 @@ static inline void os_setup_post(void) {}
static inline void os_set_line_buffering(void) {}
static inline void os_set_proc_name(const char *dummy) {}
+#if !defined(EPROTONOSUPPORT)
+# define EPROTONOSUPPORT EINVAL
+#endif
+
#endif
--
1.7.1
[Qemu-devel] [PATCH v3 2/5] Factorize common migration incoming code, Juan Quintela, 2010/06/09
[Qemu-devel] [PATCH v3 4/5] QMP: Emit migration events on incoming migration, Juan Quintela, 2010/06/09
[Qemu-devel] [PATCH v3 5/5] QMP: Emit migration events on outgoing migration, Juan Quintela, 2010/06/09
Re: [Qemu-devel] [PATCH v3 0/5] Add QMP migration events, Yoshiaki Tamura, 2010/06/09