Index: test/support/test_macros.h =================================================================== --- test/support/test_macros.h +++ test/support/test_macros.h @@ -223,6 +223,14 @@ } #endif +#if defined(min) +#undef min +#endif + +#if defined(max) +#undef max +#endif + #if defined(__GNUC__) #pragma GCC diagnostic pop #endif