summaryrefslogtreecommitdiff
path: root/qemu_socket.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 /qemu_socket.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 'qemu_socket.h')
-rw-r--r--qemu_socket.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/qemu_socket.h b/qemu_socket.h
index 51ad210a7..a5d0a84fb 100644
--- a/qemu_socket.h
+++ b/qemu_socket.h
@@ -8,12 +8,6 @@
#include <ws2tcpip.h>
#define socket_error() WSAGetLastError()
-#undef EWOULDBLOCK
-#undef EINTR
-#undef EINPROGRESS
-#define EWOULDBLOCK WSAEWOULDBLOCK
-#define EINTR WSAEINTR
-#define EINPROGRESS WSAEINPROGRESS
int inet_aton(const char *cp, struct in_addr *ia);