From 251e8774b010b0e21ac774bd3196aabcd2f3b2d2 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 29 Dec 2012 09:54:57 -0800 Subject: [PATCH] Fix the build on MSVC. --- format.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/format.cc b/format.cc index bbc9b423..568c8ce8 100644 --- a/format.cc +++ b/format.cc @@ -51,6 +51,7 @@ using fmt::StringRef; #if _MSC_VER # undef snprintf # define snprintf _snprintf +# define isinf(x) (!_finite(x)) #endif namespace {