Added check for already defined NOMINMAX

This commit is contained in:
Mircea Baja 2014-12-08 21:36:26 +00:00
parent 1a615af437
commit 6e560e345a

View File

@ -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