From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCyBf-0007eY-Cq for qemu-devel@nongnu.org; Wed, 28 Mar 2012 15:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCyBd-0000J8-Ny for qemu-devel@nongnu.org; Wed, 28 Mar 2012 15:05:38 -0400 Received: from goliath.siemens.de ([192.35.17.28]:33738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCyBd-0000IW-F4 for qemu-devel@nongnu.org; Wed, 28 Mar 2012 15:05:37 -0400 Message-ID: <4F7360FD.5050707@siemens.com> Date: Wed, 28 Mar 2012 21:05:33 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] w32/slirp: Undefine error constants before their redefinition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Stefan Weil Less warnings for your console. Signed-off-by: Jan Kiszka --- I'll carry this in my queue. slirp/slirp.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/slirp/slirp.h b/slirp/slirp.h index 2098b20..46bfe46 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -15,6 +15,12 @@ typedef char *caddr_t; # include # include +# undef EWOULDBLOCK +# undef EINPROGRESS +# undef ENOTCONN +# undef EHOSTUNREACH +# undef ENETUNREACH +# undef ECONNREFUSED # define EWOULDBLOCK WSAEWOULDBLOCK # define EINPROGRESS WSAEINPROGRESS # define ENOTCONN WSAENOTCONN -- 1.7.3.4