Prevent usage of min() macro when compiled with VS

This commit is contained in:
Serge Lamikhov-Center 2020-10-17 21:57:53 +03:00
parent 8dccdf686c
commit d6338db817

View File

@ -22,6 +22,9 @@ THE SOFTWARE.
#ifdef _MSC_VER
#define _SCL_SECURE_NO_WARNINGS
// Prevent usage of min() macro when compiled with VS
#define NOMINMAX
#endif
#define BOOST_TEST_MODULE ELFIO_Test