*** empty log message ***

svn path=/trunk/boinc/; revision=5963
This commit is contained in:
David Anderson 2005-04-28 23:22:14 +00:00
parent 64b871f819
commit 58e3317afb
1 changed files with 4 additions and 0 deletions

View File

@ -81,7 +81,11 @@ bool parse_double(const char* buf, const char* tag, double& x) {
setlocale(LC_NUMERIC, "C");
y = atof(p+strlen(tag));
setlocale(LC_NUMERIC, strLocale.c_str());
#ifdef _WIN32_
if (_finite(y)) {
#else
if (finite(y)) {
#endif
x = y;
return true;
}