We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8d85d commit cb4800eCopy full SHA for cb4800e
test/ut/win_compat_test.cpp
@@ -9,14 +9,18 @@
9
// ensure no conflict between `Windows.h` and `ut.hpp`
10
#include <Windows.h>
11
12
-#if not defined(min) || not defined(max)
13
-#error 'min' and 'max' should be defined
+#ifndef __MINGW32__
+ #if not defined(min) || not defined(max)
14
+ #error 'min' and 'max' should be defined
15
+ #endif
16
#endif
17
18
#include "boost/ut.hpp"
19
-#error 'min' and 'max' should still be defined
20
21
22
+ #error 'min' and 'max' should still be defined
23
24
25
26
namespace ut = boost::ut;
0 commit comments