From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSyQ5-0005VE-1j for qemu-devel@nongnu.org; Sun, 27 Jun 2010 16:25:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSyQ3-0003QF-PW for qemu-devel@nongnu.org; Sun, 27 Jun 2010 16:25:36 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:48215) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSyQ3-0003Pt-Iw for qemu-devel@nongnu.org; Sun, 27 Jun 2010 16:25:35 -0400 Received: by pvg12 with SMTP id 12so2204893pvg.4 for ; Sun, 27 Jun 2010 13:25:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1277412093-4970-1-git-send-email-weil@mail.berlios.de> References: <4C2167B1.4020407@codemonkey.ws> <1277412093-4970-1-git-send-email-weil@mail.berlios.de> From: Blue Swirl Date: Sun, 27 Jun 2010 20:25:14 +0000 Message-ID: Subject: Re: [Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers , quintela@redhat.com Thanks, applied. On Thu, Jun 24, 2010 at 8:41 PM, Stefan Weil wrote: > 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 > --- > =C2=A0qemu-os-win32.h | =C2=A0 =C2=A04 ++++ > =C2=A01 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) {} > =C2=A0static inline void os_set_line_buffering(void) {} > =C2=A0static inline void os_set_proc_name(const char *dummy) {} > > +#if !defined(EPROTONOSUPPORT) > +# define EPROTONOSUPPORT EINVAL > +#endif > + > =C2=A0#endif > -- > 1.7.1 > > >