From c71a5b5fd8fa82327fb5127c66a0962411b973fa Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Thu, 18 Feb 2021 10:31:23 -0700 Subject: [PATCH] Guard NOMINMAX mingw64 defines it by default, this prevents multiple definition warnings/errors --- src/VkBootstrap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index 8ca3a88..39a683f 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -21,7 +21,9 @@ #if defined(_WIN32) #include +#ifndef NOMINMAX #define NOMINMAX +#endif #include #endif // _WIN32