From 1509eda35284f00d89c58fc8b70da4a691f1e977 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 18 Sep 2019 08:51:36 -0700 Subject: Fixed some issues on Win32 platform --- Graphics/GraphicsEngineD3D11/include/pch.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/include/pch.h b/Graphics/GraphicsEngineD3D11/include/pch.h index a995ded5..a181b137 100644 --- a/Graphics/GraphicsEngineD3D11/include/pch.h +++ b/Graphics/GraphicsEngineD3D11/include/pch.h @@ -30,8 +30,13 @@ #include "targetver.h" -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers -#define NOMINMAX +#ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +#endif + +#ifndef NOMINMAX +# define NOMINMAX +#endif #include "PlatformDefinitions.h" -- cgit v1.2.3