From: Jan Kiszka Date: Wed, 28 Mar 2012 18:56:38 +0000 (+0200) Subject: w32: Undefine error constants before their redefinition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6cec29c4a0338bfd96dec42cce51c9c447facb23;p=qemu.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 fe4cf6ca61..51ad210a7f 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