From: Jan Kiszka Date: Wed, 28 Mar 2012 19:03:42 +0000 (+0200) Subject: w32/slirp: Undefine error constants before their redefinition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=56688961634a2d05fb5841a149bb5c1a17239e4c;p=qemu.git w32/slirp: Undefine error constants before their redefinition Less warnings for your console. Signed-off-by: Jan Kiszka --- 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