From 1661f3e962f568b6f9b5890524705a4431adc597 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Mon, 7 Nov 2022 17:44:31 -0700 Subject: [PATCH] includes: Guard against multiple NOMINMAX --- include/vulkan/vk_sdk_platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/vulkan/vk_sdk_platform.h b/include/vulkan/vk_sdk_platform.h index 96d8676..f192c1c 100644 --- a/include/vulkan/vk_sdk_platform.h +++ b/include/vulkan/vk_sdk_platform.h @@ -23,7 +23,9 @@ #define VK_SDK_PLATFORM_H #if defined(_WIN32) +#ifndef NOMINMAX #define NOMINMAX +#endif #ifndef __cplusplus #undef inline #define inline __inline