Map PE files

This commit is contained in:
momo5502
2024-08-18 09:46:39 +02:00
parent 11a434c6e2
commit b6db765dd7
2 changed files with 119 additions and 17 deletions

View File

@@ -29,16 +29,7 @@
#pragma warning(disable: 28020)
#define WIN32_LEAN_AND_MEAN
// min and max is required by gdi, therefore NOMINMAX won't work
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
#endif
#define NOMINMAX
#include <map>
#include <set>
@@ -54,6 +45,7 @@
#include <string>
#include <chrono>
#include <memory>
#include <fstream>
#include <functional>
#include <filesystem>
#include <optional>
@@ -75,4 +67,13 @@
#pragma warning(pop)
#endif
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
#endif
using namespace std::literals;