mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-10-27 06:36:55 +00:00
maint(string): update
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
#include "console.hpp"
|
||||
#include "command.hpp"
|
||||
|
||||
#include <corecrt_io.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
namespace console {
|
||||
namespace {
|
||||
using message_queue = std::queue<std::string>;
|
||||
|
||||
@@ -51,6 +51,7 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call,
|
||||
) {
|
||||
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
|
||||
AddVectoredExceptionHandler(0, exception_handler);
|
||||
SetProcessDEPPolicy(PROCESS_DEP_ENABLE);
|
||||
|
||||
std::srand(std::uint32_t(time(nullptr)));
|
||||
|
||||
|
||||
@@ -8,21 +8,20 @@
|
||||
#include <WinSock2.h>
|
||||
#include <WS2tcpip.h>
|
||||
|
||||
#include <corecrt_io.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <DbgHelp.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <cstring>
|
||||
#include <format>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <source_location>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <source_location>
|
||||
#include <queue>
|
||||
#include <format>
|
||||
|
||||
#pragma comment(lib, "ntdll.lib")
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
Reference in New Issue
Block a user