diff options
author | Lee Salzman <[email protected]> | 2012-09-26 14:06:58 +0300 |
---|---|---|
committer | Lee Salzman <[email protected]> | 2012-09-26 14:06:58 +0300 |
commit | 9dff8f72cfaae437a2e208338dd14544dbc20d02 (patch) | |
tree | db160e35a6df8bc9b19239350e7bee19b3089db2 | |
parent | 0e0ace781b3d41c08d310e678f4e08e323a6a3b8 (diff) | |
download | enet-9dff8f72cfaae437a2e208338dd14544dbc20d02.tar.gz enet-9dff8f72cfaae437a2e208338dd14544dbc20d02.zip |
EWOULDBLOCK -> WSAEWOULDBLOCK
-rw-r--r-- | win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |