aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-03-21 08:33:35 +0100
committerLadislav Zezula <zezula@volny.cz>2020-03-21 08:33:35 +0100
commitafaace949ce10be558f54fd1a059524ce12cc926 (patch)
tree944f031acc763bec1c39ed5b5d3684b6934cc914 /src
parenta3228def1ee35d5836d380abac9f2efd5d35e67e (diff)
parent847cc5a634e9ce9da87e5b638afbebd12b1039bf (diff)
Merge branch 'master' of https://github.com/ladislav-zezula/StormLib
Diffstat (limited to 'src')
-rw-r--r--src/StormPort.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StormPort.h b/src/StormPort.h
index c52e9ff..349dd20 100644
--- a/src/StormPort.h
+++ b/src/StormPort.h
@@ -48,7 +48,11 @@
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
+
+ // Suppress definitions of `min` and `max` macros by <windows.h>:
+ #define NOMINMAX 1
#include <windows.h>
+
#include <wininet.h>
#define PLATFORM_LITTLE_ENDIAN