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 8a48e0bf6c
commit bddcf16f0f

View File

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