mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use WIN32_LEAN_AND_MEAN in UiContext and Platform
This commit is contained in:
parent
740b624eed
commit
617003dff6
|
@ -11,6 +11,9 @@
|
||||||
|
|
||||||
// Windows.h needs to be included first
|
// Windows.h needs to be included first
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <shellapi.h>
|
# include <shellapi.h>
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
// Windows.h needs to be included first
|
// Windows.h needs to be included first
|
||||||
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
|
# define WIN32_LEAN_AND_MEAN
|
||||||
|
# endif
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
|
||||||
// Then the rest
|
// Then the rest
|
||||||
|
|
Loading…
Reference in New Issue