Define NOMINMAX globally to work around VS nonsense.

This commit is contained in:
2020-10-02 20:31:22 +02:00
parent 35a2110698
commit 21b7500e13
3 changed files with 6 additions and 9 deletions

View File

@@ -7,6 +7,7 @@
#include <stdint.h>
#ifdef _WIN32
// windows
#define NOMINMAX
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <winsock2.h>
#include <windows.h>