mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-02 22:06:26 +00:00
Switched to msvc 2019
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#pragma once
|
||||
#ifdef __linux
|
||||
#define EXCEPTION_POINTERS void
|
||||
#else
|
||||
#include <WS2tcpip.h>
|
||||
#endif
|
||||
#include <string>
|
||||
int Handle(void* ep, char* Origin);
|
||||
int Handle(EXCEPTION_POINTERS* ep, char* Origin);
|
||||
|
||||
@@ -30,7 +30,6 @@ inline void CloseSocketProper(int socket) {
|
||||
#endif
|
||||
|
||||
#else // win32
|
||||
|
||||
inline void CloseSocketProper(uint64_t socket) {
|
||||
shutdown(socket, SD_BOTH);
|
||||
closesocket(socket);
|
||||
|
||||
Reference in New Issue
Block a user