diff --git a/tests/src/unit-windows_h.cpp b/tests/src/unit-windows_h.cpp index aa4b414062..3b41c72aeb 100644 --- a/tests/src/unit-windows_h.cpp +++ b/tests/src/unit-windows_h.cpp @@ -7,6 +7,8 @@ // SPDX-License-Identifier: MIT #include "doctest_compatibility.h" +#undef WIN32_LEAN_AND_MEAN +#undef NOMINMAX #ifdef _WIN32 #include