Skip to contentSkip to conversation

w32/slirp: Undefine error constants before their redefinition

PATCH New Jan Kiszka 1 participant 1 message Mar 28, 2012

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 w32/slirp: Undefine error constants before their redefinition

Less warnings for your console.

---

I'll carry this in my queue.

 slirp/slirp.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
slirp/slirp.h +6 -0
index 2098b20..46bfe46 100644
@@ -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
Signature · 1 line
1.7.3.4