Win: [skip ci] define NOMINMAX before including Windows.h to avoid name collision with std::min/std::max

This commit is contained in:
wmayer
2022-12-19 20:17:08 +01:00
parent 8897cb2f79
commit 5df04f51ce

View File

@@ -7,6 +7,9 @@
// Workaround for boost >= 1.78
#ifdef WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#endif