1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Fix include order and defines for Windows builds

This commit is contained in:
Hielke Morsink
2018-06-18 18:46:49 +02:00
parent 79f1cf5a5c
commit ce59ed0ba2
7 changed files with 29 additions and 19 deletions

View File

@@ -13,12 +13,12 @@
#define _WIN32_WINNT 0x0600
#endif // __MINGW32__
#include "../common.h"
#ifdef _WIN32
#undef interface
// Windows.h needs to be included first
#include <windows.h>
// Then the rest
#include <lmcons.h>
#include <psapi.h>
#include <shlobj.h>