aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2025-06-13 21:45:29 +0200
committerGitHub <noreply@github.com>2025-06-13 21:45:29 +0200
commitb41cda40f9c3fbdb802cf63e739425cd805eecaa (patch)
tree223e27ed9bb0daf859053cc2fcb3046a6f3ab898 /src/StormPort.h
parentd9af7876974f4a98ed0049124c0ee4071916b270 (diff)
parent8b47034a1ffe5f125c7dd4fcb5d8ffef47f7e384 (diff)
Merged. Thanks for the contribution 👍
Win: Only define NOMINMAX if it's not already defined
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StormPort.h b/src/StormPort.h
index f00afd6..569bd2d 100644
--- a/src/StormPort.h
+++ b/src/StormPort.h
@@ -54,7 +54,9 @@
#include <stdio.h>
// Suppress definitions of `min` and `max` macros by <windows.h>:
+ #ifndef NOMINMAX
#define NOMINMAX 1
+ #endif
#include <windows.h>
#include <wininet.h>