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
parent
commit
8b47034a1f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/StormPort.h

2
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>

Loading…
Cancel
Save