mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
Fixed windows not linking
This commit is contained in:
committed by
Anonymous275
parent
7e6d5ce359
commit
fab20276ff
@@ -23,7 +23,7 @@ inline void CloseSocketProper(int socket) {
|
||||
#ifdef WIN32
|
||||
#include <conio.h>
|
||||
#include <winsock2.h>
|
||||
inline void CloseSocketProper(int socket) {
|
||||
inline void CloseSocketProper(u_int64 socket) {
|
||||
shutdown(socket, SD_BOTH);
|
||||
closesocket(socket);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user