mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-10-23 02:47:18 +00:00
improve error reporting, remove duplicate code
This commit is contained in:
4 files changed
+49
-89
No files matched your search
@@ -1,12 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <cstring>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <sstream>
|
||||
|
||||
#include "Compat.h"
|
||||
|
||||
#include "TConsole.h"
|
||||
|
||||
struct Version {
|
||||
@@ -133,3 +136,5 @@ void RegisterThread(const std::string str);
|
||||
#define Biggest 30000
|
||||
std::string Comp(std::string Data);
|
||||
std::string DeComp(std::string Compressed);
|
||||
|
||||
std::string GetPlatformAgnosticErrorString();
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
using SOCKET = int;
|
||||
using DWORD = unsigned long;
|
||||
using PDWORD = unsigned long*;
|
||||
|
||||
Reference in new issue
Block a user