Commit 7b970285 authored by Victor Zverovich's avatar Victor Zverovich

Fix the build.

parent 10108c75
......@@ -139,7 +139,7 @@ void FormatDecimal(char *buffer, uint64_t value, unsigned num_digits) {
#ifdef _MSC_VER
int signbit(double value) {
if (value < 0) return 1;
if (!isnan(value)) return 0;
if (value == value) return 0;
int dec = 0, sign = 0;
ecvt(value, 0, &dec, &sign);
return sign;
......
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