projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c5970a
)
w32/slirp: Undefine error constants before their redefinition
author
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 28 Mar 2012 19:03:42 +0000
(21:03 +0200)
committer
Jan Kiszka
<jan.kiszka@siemens.com>
Wed, 28 Mar 2012 19:03:42 +0000
(21:03 +0200)
Less warnings for your console.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
slirp/slirp.h
patch
|
blob
|
history
diff --git
a/slirp/slirp.h
b/slirp/slirp.h
index 2098b20e39fd9504e2de7076c0d32899b341dfb8..46bfe4636d76e4531372b9c585739096b24f33d1 100644
(file)
--- 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