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:17:46 -07:00
parent 5c4fdc884b
commit 6c189a717a
5 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,9 @@
#elif BX_PLATFORM_WINDOWS \
|| BX_PLATFORM_WINRT \
|| BX_PLATFORM_XBOXONE
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif // WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <limits.h>
# if BX_PLATFORM_XBOXONE