From 56688961634a2d05fb5841a149bb5c1a17239e4c Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 28 Mar 2012 21:03:42 +0200 Subject: [PATCH] w32/slirp: Undefine error constants before their redefinition Less warnings for your console. Signed-off-by: Jan Kiszka --- slirp/slirp.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/slirp/slirp.h b/slirp/slirp.h index 2098b20e39..46bfe4636d 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