Suppress a windows warning
This commit is contained in:
parent
e975b35a93
commit
49c6390875
1 changed files with 3 additions and 1 deletions
|
|
@ -7,7 +7,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// There's a spurious min/max function in MSVC that makes everything go badly...
|
// There's a spurious min/max function in MSVC that makes everything go badly...
|
||||||
#define NOMINMAX
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX 1
|
||||||
|
#endif
|
||||||
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
|
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
|
||||||
#endif
|
#endif
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue