mirror of https://github.com/BOINC/boinc.git
parent
43231a8dbb
commit
114ba8111d
|
@ -561,11 +561,11 @@ int IP_RESULT::parse(FILE*) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool boinc_is_finite(double x) {
|
||||
#if defined (HPUX_SOURCE)
|
||||
return _Isfinite(x);
|
||||
return false;
|
||||
#else
|
||||
return finite(x);
|
||||
#endif
|
||||
}
|
||||
bool boinc_is_finite(double x) {
|
||||
#if defined (HPUX_SOURCE)
|
||||
return _Isfinite(x);
|
||||
return false;
|
||||
#else
|
||||
return (finite(x) != 0);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#else
|
||||
#include "boinc_win.h"
|
||||
#endif
|
||||
//#include <Wtsapi32.h> // not present on academic version of VS2005!
|
||||
#include "win_util.h"
|
||||
|
||||
|
||||
|
@ -830,6 +831,7 @@ void chdir_to_data_dir() {
|
|||
if (lpszRegistryValue) free(lpszRegistryValue);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// return true if running under remote desktop
|
||||
// (in which case CUDA apps don't work)
|
||||
//
|
||||
|
@ -849,3 +851,4 @@ bool is_remote_desktop() {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue