Fix MSVC build.

This commit is contained in:
Victor Zverovich
2013-02-05 07:43:15 -08:00
parent 688de77b36
commit 9d49321115
2 changed files with 3 additions and 10 deletions
-10
View File
@@ -31,19 +31,9 @@
#undef _SCL_SECURE_NO_WARNINGS
#define _SCL_SECURE_NO_WARNINGS
#include <math.h>
#include "format.h"
#include <cctype>
#include <cstring>
#include <algorithm>
#if _MSC_VER
# undef snprintf
# define snprintf _snprintf
# define isinf(x) (!_finite(x))
#endif
const char fmt::internal::DIGITS[] =
"0001020304050607080910111213141516171819"