From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41809 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORtFF-0003b3-NZ for qemu-devel@nongnu.org; Thu, 24 Jun 2010 16:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORtFE-0001xg-7O for qemu-devel@nongnu.org; Thu, 24 Jun 2010 16:41:57 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:50027) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORtFD-0001xR-SM for qemu-devel@nongnu.org; Thu, 24 Jun 2010 16:41:56 -0400 From: Stefan Weil Date: Thu, 24 Jun 2010 22:41:33 +0200 Message-Id: <1277412093-4970-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <4C2167B1.4020407@codemonkey.ws> References: <4C2167B1.4020407@codemonkey.ws> Subject: [Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: quintela@redhat.com 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 --- 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