From acf126ba58425f11e74fbb9c1095224cb142fffa Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 12 Apr 2012 21:13:15 +0200 Subject: 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 --- qemu_socket.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'qemu_socket.h') diff --git a/qemu_socket.h b/qemu_socket.h index 51ad210a7f..a5d0a84fb6 100644 --- a/qemu_socket.h +++ b/qemu_socket.h @@ -8,12 +8,6 @@ #include #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); -- cgit v1.2.3-55-g7522