mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-19 22:50:19 +00:00
possible fix for windows build 2
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user