Fix Windows build more.

This commit is contained in:
David Anderson
2014-08-22 21:07:49 -07:00
parent d20ba38d6b
commit 0cf8eb2854
2 changed files with 9 additions and 17 deletions
+5 -5
View File
@@ -672,11 +672,11 @@ static int ftoi(cell *val,const unsigned char *curptr)
exp=(exp*10)+(*ptr-'0');
ptr++;
} /* while */
#if defined __GNUC__
fmult=pow10(exp*sign);
#else
fmult=pow(10,exp*sign);
#endif
#if defined __GNUC__
fmult=pow10(exp*sign);
#else
fmult=pow(10.0,exp*sign);
#endif
fnum *= fmult;
dnum *= (unsigned long)(fmult+0.5);
} /* if */