1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Remove windows.h include and win32 specific defines, not needed

This commit is contained in:
ζeh Matt
2024-08-20 00:27:00 +03:00
parent 2c0bfd01ac
commit 7c1d3c42b3

View File

@@ -15,16 +15,6 @@
using namespace OpenRCT2;
// malloc is very slow for large allocations in MSVC debug builds as it allocates
// memory on a special debug heap and then initialises all the memory to 0xCC.
#if defined(_WIN32) && defined(DEBUG)
# define __USE_HEAP_ALLOC__
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <windows.h>
#endif
// Allow chunks to be uncompressed to a maximum of 16 MiB
constexpr size_t MAX_UNCOMPRESSED_CHUNK_SIZE = 16 * 1024 * 1024;