Win: [skip ci] define NOMINMAX before including Windows.h to avoid name collision with std::min/std::max
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
// Workaround for boost >= 1.78
|
||||
#ifdef WIN32
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user