mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-08-17 16:57:05 +00:00
possible fix for windows build 2
This commit is contained in:
parent
e92847e628
commit
c77e2b3fd8
@ -21,8 +21,7 @@ inline void CloseSocketProper(int TheSocket) {
|
|||||||
// ======================= WIN32 =======================
|
// ======================= WIN32 =======================
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <conio.h>
|
#include <sentry.h>
|
||||||
#include <ws2def.h>
|
|
||||||
inline void CloseSocketProper(SOCKET TheSocket) {
|
inline void CloseSocketProper(SOCKET TheSocket) {
|
||||||
shutdown(TheSocket, SD_BOTH);
|
shutdown(TheSocket, SD_BOTH);
|
||||||
closesocket(TheSocket);
|
closesocket(TheSocket);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user