From ca3c37c725bece14ed177c7fd20963ff7ac445e7 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Sat, 15 Sep 2018 13:38:16 -0700 Subject: [PATCH] Suppres warnings when NOMINMAX already defined --- 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