Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/Vulkan-Headers.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2022-11-08 03:44:31 +0300
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2022-11-08 03:48:05 +0300
commit1661f3e962f568b6f9b5890524705a4431adc597 (patch)
tree64b5d19f120ee9687f92a7a892cdfdf232a28c70
parent91388ba10409c3a3bf5517de5fed7f2d989930f9 (diff)
includes: Guard against multiple NOMINMAX
-rw-r--r--include/vulkan/vk_sdk_platform.h2
1 files changed, 2 insertions, 0 deletions
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