Skip to content

Commit

Permalink
do not call WSACancelBlockingCall() in winsock2 builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Apr 17, 2021
1 parent a20bcd0 commit 65896b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SDLnet.c
Expand Up @@ -128,9 +128,6 @@ void SDLNet_Quit(void)
/* Clean up windows networking */
if ( WSACleanup() == SOCKET_ERROR ) {
if ( WSAGetLastError() == WSAEINPROGRESS ) {
#ifndef _WIN32_WCE
WSACancelBlockingCall();
#endif
WSACleanup();
}
}
Expand Down

0 comments on commit 65896b8

Please sign in to comment.