From 65896b812b01010be7112ab16596b93799cb9f1f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 17 Apr 2021 05:29:10 +0300
Subject: [PATCH] do not call WSACancelBlockingCall() in winsock2 builds.
See https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsacancelblockingcall
---
SDLnet.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/SDLnet.c b/SDLnet.c
index fc84bc2..52f6bf0 100644
--- a/SDLnet.c
+++ b/SDLnet.c
@@ -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();
}
}