mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-20 07:23:58 +00:00
possible fix for windows build 2
This commit is contained in:
1 parent
e92847e628
commit
c77e2b3fd8
1 file changed
+1
-2
+1
-2
@@ -21,8 +21,7 @@ inline void CloseSocketProper(int TheSocket) {
|
||||
// ======================= WIN32 =======================
|
||||
|
||||
#ifdef WIN32
|
||||
#include <conio.h>
|
||||
#include <ws2def.h>
|
||||
#include <sentry.h>
|
||||
inline void CloseSocketProper(SOCKET TheSocket) {
|
||||
shutdown(TheSocket, SD_BOTH);
|
||||
closesocket(TheSocket);
|
||||
|
||||
Reference in new issue
Block a user