* [Qemu-devel] [PATCH] w32/slirp: Undefine error constants before their redefinition
@ 2012-03-28 19:05 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2012-03-28 19:05 UTC (permalink / raw)
To: qemu-devel, Stefan Weil
Less warnings for your console.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
I'll carry this in my queue.
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
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-28 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 19:05 [Qemu-devel] [PATCH] w32/slirp: Undefine error constants before their redefinition Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).