commit b2282cec2f181b7f0789f7526f86f613e2f6eb26 parent dad4d584d104231411309e0bdbb9e36a9013bfa8 Author: [email protected] <[email protected]> Date: Mon, 18 Jul 2016 07:16:22 +0300 Define NOMINMAX before including windows.h Diffstat:
M | tests/testo/print_colored.hpp | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/testo/print_colored.hpp b/tests/testo/print_colored.hpp @@ -2,6 +2,9 @@ #include <cstdint> #if defined(_WIN32) +#ifndef NOMINMAX +#define NOMINMAX +#endif #include <windows.h> #endif