mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
possible windows compiler fix
This commit is contained in:
@@ -22,7 +22,7 @@ inline void CloseSocketProper(int TheSocket) {
|
||||
|
||||
#ifdef WIN32
|
||||
#include <conio.h>
|
||||
#include <winsock2.h>
|
||||
#include <ws2def.h>
|
||||
inline void CloseSocketProper(SOCKET TheSocket) {
|
||||
shutdown(TheSocket, SD_BOTH);
|
||||
closesocket(TheSocket);
|
||||
|
||||
Reference in New Issue
Block a user