w32: Undefine error constants before their redefinition
Avoids lots of warnings. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
368542b835
commit
6cec29c4a0
@ -8,7 +8,9 @@
|
||||
#include <ws2tcpip.h>
|
||||
|
||||
#define socket_error() WSAGetLastError()
|
||||
#undef EWOULDBLOCK
|
||||
#undef EINTR
|
||||
#undef EINPROGRESS
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#define EINTR WSAEINTR
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
|
Loading…
Reference in New Issue
Block a user