mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5963
This commit is contained in:
parent
64b871f819
commit
58e3317afb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue