diff options
author | Slayer95 <ivojulca@hotmail.com> | 2025-06-13 14:38:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 14:38:35 -0500 |
commit | 8b47034a1ffe5f125c7dd4fcb5d8ffef47f7e384 (patch) | |
tree | 223e27ed9bb0daf859053cc2fcb3046a6f3ab898 /src | |
parent | d9af7876974f4a98ed0049124c0ee4071916b270 (diff) |
Win: Only define NOMINMAX if it's not already defined
Makes it easier to add StormLib as a dependency
Diffstat (limited to 'src')
-rw-r--r-- | src/StormPort.h | 2 |
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> |