possible fix for windows compile issue

This commit is contained in:
Lion Kortlepel 2021-08-11 12:57:19 +02:00 committed by Lion
parent d1efebe068
commit 032c1daf30

View File

@ -22,6 +22,8 @@ inline void CloseSocketProper(int TheSocket) {
#ifdef WIN32
#include <sentry.h>
#include <winsock2.h>
#include <ws2tcpip.h>
inline void CloseSocketProper(SOCKET TheSocket) {
shutdown(TheSocket, SD_BOTH);
closesocket(TheSocket);