diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-03-28 21:03:42 +0200 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-03-28 21:03:42 +0200 |
commit | 56688961634a2d05fb5841a149bb5c1a17239e4c (patch) | |
tree | 5091cb4e8bb32af086040edbead7d4e8b2ce5951 | |
parent | 1c5970a8b8ed79334e8ab303fec7287442538c3c (diff) | |
download | qemu-56688961634a2d05fb5841a149bb5c1a17239e4c.zip qemu-56688961634a2d05fb5841a149bb5c1a17239e4c.tar.gz qemu-56688961634a2d05fb5841a149bb5c1a17239e4c.tar.bz2 |
w32/slirp: Undefine error constants before their redefinition
Less warnings for your console.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
-rw-r--r-- | 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 <sys/timeb.h> # include <iphlpapi.h> +# undef EWOULDBLOCK +# undef EINPROGRESS +# undef ENOTCONN +# undef EHOSTUNREACH +# undef ENETUNREACH +# undef ECONNREFUSED # define EWOULDBLOCK WSAEWOULDBLOCK # define EINPROGRESS WSAEINPROGRESS # define ENOTCONN WSAENOTCONN |