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/GraphicsEngineD3D12/include/pch.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/include/pch.h b/Graphics/GraphicsEngineD3D12/include/pch.h index 093a366f..733f3ef6 100644 --- a/Graphics/GraphicsEngineD3D12/include/pch.h +++ b/Graphics/GraphicsEngineD3D12/include/pch.h @@ -28,8 +28,13 @@ #pragma once -#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 -- cgit v1.2.3