From patchwork Thu Jun 24 20:41:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 56836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B4858B707F for ; Fri, 25 Jun 2010 06:43:19 +1000 (EST) Received: from localhost ([127.0.0.1]:54318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORtGV-0003v2-Rm for incoming@patchwork.ozlabs.org; Thu, 24 Jun 2010 16:43:15 -0400 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 Received: from flocke.weilnetz.de (p54ADF942.dip.t-dialin.net [84.173.249.66]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0M0bmA-1PLF3D2qP0-00urFn; Thu, 24 Jun 2010 22:41:41 +0200 Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1ORtEy-0001Ie-OS; Thu, 24 Jun 2010 22:41:40 +0200 From: Stefan Weil To: QEMU Developers Date: Thu, 24 Jun 2010 22:41:33 +0200 Message-Id: <1277412093-4970-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <4C2167B1.4020407@codemonkey.ws> References: <4C2167B1.4020407@codemonkey.ws> X-Provags-ID: V01U2FsdGVkX18MAvA4RI4FmCj1FYdnvsRD1MardRbIQhlQ/hw wZF+ppUwavuM81M9VcKJU5EXPNC/RZXp8Ngm6cEUmSk4eWomsc +KLCeAztjqNN7P+SzYTKalTr+0du8vndVdVPxUDuSQZLYZzc2L FEQ== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: quintela@redhat.com Subject: [Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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