]> Git Repo - qemu.git/commitdiff
w32/slirp: Undefine error constants before their redefinition
authorJan Kiszka <[email protected]>
Wed, 28 Mar 2012 19:03:42 +0000 (21:03 +0200)
committerJan Kiszka <[email protected]>
Wed, 28 Mar 2012 19:03:42 +0000 (21:03 +0200)
Less warnings for your console.

Signed-off-by: Jan Kiszka <[email protected]>
slirp/slirp.h

index 2098b20e39fd9504e2de7076c0d32899b341dfb8..46bfe4636d76e4531372b9c585739096b24f33d1 100644 (file)
@@ -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
This page took 0.026683 seconds and 4 git commands to generate.