aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-12 21:13:15 +0200
committerStefan Weil <sw@weilnetz.de>2012-04-15 21:25:16 +0200
commitacf126ba58425f11e74fbb9c1095224cb142fffa (patch)
tree6ec69a3a5e1622ce6f4f4cf6d3826a1d44d99a59 /slirp/slirp.h
parent6840981dfb76a1a1d2401efdb237ed5ddac8bf2f (diff)
w32: Move defines for socket specific errors to qemu-os-win32.h
As those defines are only used for w32, they should be in the header file for w32. All files which include slirp.h or qemu_socket.h also include qemu-os-win32.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 46bfe4636d..f2c5eca892 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -15,18 +15,6 @@ 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
-# define EHOSTUNREACH WSAEHOSTUNREACH
-# define ENETUNREACH WSAENETUNREACH
-# define ECONNREFUSED WSAECONNREFUSED
#else
# define ioctlsocket ioctl
# define closesocket(s) close(s)