aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-11-07 17:44:31 -0700
committerJuan Ramos <[email protected]>2022-11-07 17:48:05 -0700
commit1661f3e962f568b6f9b5890524705a4431adc597 (patch)
tree64b5d19f120ee9687f92a7a892cdfdf232a28c70 /include
parent91388ba10409c3a3bf5517de5fed7f2d989930f9 (diff)
downloadVulkan-Headers-1661f3e962f568b6f9b5890524705a4431adc597.tar.gz
Vulkan-Headers-1661f3e962f568b6f9b5890524705a4431adc597.zip
includes: Guard against multiple NOMINMAX
Diffstat (limited to 'include')
-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