mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5964
This commit is contained in:
parent
58e3317afb
commit
55d3b1c3b3
|
@ -128,6 +128,7 @@
|
|||
#define strdup _strdup
|
||||
#define read _read
|
||||
#define stat _stat
|
||||
#define finite _finite
|
||||
|
||||
|
||||
// On the Win32 platform include file and line number information for each
|
||||
|
|
|
@ -81,11 +81,7 @@ 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