diff options
-rw-r--r-- | astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp index a14286429b41..65a42899d396 100644 --- a/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp +++ b/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp @@ -1,8 +1,10 @@ ---- client/vector/analyzeFuncs_vector.cpp.orig 2009-07-14 21:02:10.000000000 +0200 -+++ client/vector/analyzeFuncs_vector.cpp 2013-09-12 17:02:12.000000000 +0200 -@@ -87,12 +87,10 @@ +--- ./client/vector/analyzeFuncs_vector.cpp.orig 2009-07-14 21:02:10.000000000 +0200 ++++ ./client/vector/analyzeFuncs_vector.cpp 2013-09-23 19:16:42.000000000 +0200 +@@ -86,13 +86,12 @@ + #include <sys/sysctl.h> #endif ++using namespace std; -#ifdef HAVE___ISNAN -#define isnotnan(x) (!__isnan(x)) @@ -11,7 +13,7 @@ #define isnotnan(x) (!_isnan(x)) #elif defined(HAVE_ISNAN) -#define isnotnam(x) (!isnan(x)) -+#define isnotnan(x) (!std::isnan(x)) ++#define isnotnan(x) (!isnan(x)) #else #define isnotnan(x) ((x) == (x)) #endif |