Browse Source
Win: Only define NOMINMAX if it's not already defined
Makes it easier to add StormLib as a dependency
pull/391/head
Slayer95
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
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> |
|
|
|
|
|
|
|