mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-16 05:10:32 +01:00
Merged. Thanks for the contribution 👍
Win: Only define NOMINMAX if it's not already defined
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user