From b33d2aa82522afccaf67a2c7f5a3f67f008e4238 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 5 Sep 2014 08:06:07 -0700 Subject: [PATCH] Workaround Windows braindamage. --- test/format-impl-test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/format-impl-test.cc b/test/format-impl-test.cc index c4ed2480..467c13cd 100644 --- a/test/format-impl-test.cc +++ b/test/format-impl-test.cc @@ -29,6 +29,8 @@ #include "format.cc" #include "gtest-extra.h" +#undef max + TEST(FormatTest, ArgConverter) { using fmt::internal::Arg; Arg arg = Arg();