Define WIN32_LEAN_AND_MEAN if it's not defined when including windows.h.

This commit is contained in:
Branimir Karadžić
2021-10-13 20:18:03 -07:00
parent 84a38eede0
commit 46384208ad
4 changed files with 16 additions and 5 deletions

View File

@@ -7,6 +7,10 @@
#if BX_PLATFORM_WINDOWS || BX_PLATFORM_LINUX
# if BX_PLATFORM_WINDOWS
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif // WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <psapi.h>
# endif // BX_PLATFORM_WINDOWS
# include <renderdoc/renderdoc_app.h>