add #define NOMINMAX before windows.h includes
This commit is contained in:
parent
e8373ffa4c
commit
38fac7046a
@ -3,6 +3,7 @@
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#ifdef WIN
|
||||
#define NOMINMAX
|
||||
#include <shlobj.h>
|
||||
#include <shlwapi.h>
|
||||
#include <windows.h>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef WIN
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
@ -15,6 +15,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef WIN
|
||||
#define NOMINMAX
|
||||
#include <shlobj.h>
|
||||
#include <shlwapi.h>
|
||||
#include <windows.h>
|
||||
|
Loading…
Reference in New Issue
Block a user