mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-01 11:52:56 +01:00
Merge pull request #172 from bajamircea/master
Added check for already defined NOMINMAX
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user