1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 18:48:29 +02:00

Define WIN32_LEAN_AND_MEAN when including windows.h

The hilariously-named WIN32_LEAN_AND_MEAN slims down the number of
header files included in the already-massive `windows.h`. I know people
say Moore's law and precompiled headers and all that (well, we don't use
precompiled headers), but they kinda forgot about virtual machines, and
there's no reason not to define this and slim down the number of headers
anyway.
This commit is contained in:
Misa 2022-08-29 09:42:26 -07:00
parent aca1e8695c
commit 3f9d30855f

View File

@ -15,6 +15,7 @@
/* These are needed for PLATFORM_* crap */
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shlobj.h>
static int mkdir(char* path, int mode)