From 14f79094d4f972fb7f873b6f54fa3b44e6a7ccba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 24 Sep 2018 11:18:41 +0200 Subject: [PATCH] Avoid redefinition warnings of NOMINMAX if you've already defined it. --- src/vk_mem_alloc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 5fdadae..f868784 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1369,7 +1369,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings. #endif #endif +#ifndef NOMINMAX #define NOMINMAX // For Windows.h +#endif #include