From 9dff8f72cfaae437a2e208338dd14544dbc20d02 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 26 Sep 2012 14:06:58 +0300 Subject: EWOULDBLOCK -> WSAEWOULDBLOCK --- win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32.c b/win32.c index 850d8a3..dcc0791 100644 --- a/win32.c +++ b/win32.c @@ -193,7 +193,7 @@ enet_socket_connect (ENetSocket socket, const ENetAddress * address) sin.sin_addr.s_addr = address -> host; result = connect (socket, (struct sockaddr *) & sin, sizeof (struct sockaddr_in)); - if (result == SOCKET_ERROR && WSAGetLastError () != EWOULDBLOCK) + if (result == SOCKET_ERROR && WSAGetLastError () != WSAEWOULDBLOCK) return -1; return 0; -- cgit v1.2.3