From d6eeb3cb4725061a1cfc36677ed2f22a1db8b1fd Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Wed, 30 Oct 2019 00:10:21 +0000 Subject: [PATCH] StormPort: Suppress `min/max` macros from windows Upstream PR: https://github.com/ladislav-zezula/StormLib/pull/163 --- 3rdParty/StormLib/src/StormPort.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/3rdParty/StormLib/src/StormPort.h b/3rdParty/StormLib/src/StormPort.h index f8372d21f..8658dc82b 100644 --- a/3rdParty/StormLib/src/StormPort.h +++ b/3rdParty/StormLib/src/StormPort.h @@ -50,7 +50,11 @@ #include #include #include + + // Suppress definitions of `min` and `max` macros by : + #define NOMINMAX 1 #include + #include #define PLATFORM_LITTLE_ENDIAN