Fix the build on MSVC.

This commit is contained in:
Victor Zverovich 2012-12-29 09:54:57 -08:00
parent 5ec28a4914
commit 251e8774b0

View File

@ -51,6 +51,7 @@ using fmt::StringRef;
#if _MSC_VER #if _MSC_VER
# undef snprintf # undef snprintf
# define snprintf _snprintf # define snprintf _snprintf
# define isinf(x) (!_finite(x))
#endif #endif
namespace { namespace {