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
+3
View File
@@ -181,6 +181,9 @@ inline int SignBit(double value) {
_ecvt(value, 0, &dec, &sign);
return sign;
}
inline int isinf(double x) { return !_finite(x); }
# undef snprintf
# define snprintf _snprintf
#endif
template <typename Char>