From: Jan Kiszka Date: Wed, 28 Mar 2012 18:56:38 +0000 (+0200) Subject: w32: Undefine error constants before their redefinition X-Git-Tag: v1.1-rc0~127^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cec29c4a0338bfd96dec42cce51c9c447facb23;p=thirdparty%2Fqemu.git w32: Undefine error constants before their redefinition Avoids lots of warnings. Signed-off-by: Jan Kiszka Signed-off-by: Stefan Hajnoczi --- diff --git a/qemu_socket.h b/qemu_socket.h index fe4cf6ca61b..51ad210a7f9 100644 --- a/qemu_socket.h +++ b/qemu_socket.h @@ -8,7 +8,9 @@ #include #define socket_error() WSAGetLastError() +#undef EWOULDBLOCK #undef EINTR +#undef EINPROGRESS #define EWOULDBLOCK WSAEWOULDBLOCK #define EINTR WSAEINTR #define EINPROGRESS WSAEINPROGRESS