Always define NOMINMAX and friends globally

Repeating this every time is worse than defining them in the compiler
command line.
This commit is contained in:
Robbert van der Helm
2021-05-11 02:22:39 +02:00
parent 5577c4bfd8
commit af299f3c66
4 changed files with 20 additions and 35 deletions
-5
View File
@@ -20,11 +20,6 @@
#include <optional>
#include <string>
#ifndef NOMINMAX
#define NOMINMAX
#define __WINE_WINSOCKAPI_STDLIB_H
#define _WINSOCKAPI_
#endif
#include <windows.h>
#include <function2/function2.hpp>