mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-27 23:10:20 +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)
|
||||
// avoiding confliction std::max, std::min, and macro in windows.h
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#endif // defined(_MSC_VER)
|
||||
|
||||
#ifdef _msgpack_atomic_counter_header
|
||||
|
Loading…
x
Reference in New Issue
Block a user