Commit 74494c29 authored by Victor Zverovich's avatar Victor Zverovich

Fix the build.

parent 9d493211
...@@ -181,9 +181,9 @@ inline int SignBit(double value) { ...@@ -181,9 +181,9 @@ inline int SignBit(double value) {
_ecvt(value, 0, &dec, &sign); _ecvt(value, 0, &dec, &sign);
return sign; return sign;
} }
inline int isinf(double x) { return !_finite(x); }
# undef snprintf # undef snprintf
# define snprintf _snprintf # define snprintf _snprintf
# define isinf(x) (!_finite(x))
#endif #endif
template <typename Char> template <typename Char>
...@@ -919,7 +919,7 @@ class BasicFormatter : public BasicWriter<Char> { ...@@ -919,7 +919,7 @@ class BasicFormatter : public BasicWriter<Char> {
template <typename T> template <typename T>
Arg(const T &value) : type(CUSTOM), formatter(0) { Arg(const T &value) : type(CUSTOM), formatter(0) {
custom.value = &value; custom.value = &value;
custom.format = &BasicFormatter::FormatCustomArg<T>; custom.format = &BasicFormatter<Char>::FormatCustomArg<T>;
} }
~Arg() { ~Arg() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment