Switched to msvc 2019

This commit is contained in:
Anonymous275
2020-12-24 00:16:40 +02:00
parent 306fbc5eb4
commit 4adfda64c1
4 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -30,7 +30,6 @@ inline void CloseSocketProper(int socket) {
#endif
#else // win32
inline void CloseSocketProper(uint64_t socket) {
shutdown(socket, SD_BOTH);
closesocket(socket);