mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 07:25:55 +02:00
Added check for already defined NOMINMAX
This commit is contained in:
parent
1a615af437
commit
6e560e345a
@ -30,7 +30,9 @@
|
|||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
// avoiding confliction std::max, std::min, and macro in windows.h
|
// avoiding confliction std::max, std::min, and macro in windows.h
|
||||||
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
#endif // defined(_MSC_VER)
|
#endif // defined(_MSC_VER)
|
||||||
|
|
||||||
#ifdef _msgpack_atomic_counter_header
|
#ifdef _msgpack_atomic_counter_header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user