Don't #define NOMINMAX when compiled with -DNOMINMAX
MSVC issues compile-time warning about redefining. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
180f763184
commit
f05bf56a61
@ -6,7 +6,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX // Collides with std::min/max
|
#define NOMINMAX // Collides with std::min/max
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <intsafe.h>
|
#include <intsafe.h>
|
||||||
#include <oaidl.h>
|
#include <oaidl.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user