CVS commit by staikos: not entirely sure if this works yet, but get it compiling on darwin M +2 -0 kstvector.cpp 1.53 --- kdeextragear-2/kst/kst/kstvector.cpp #1.52:1.53 @@ -38,4 +38,6 @@ #ifdef isnan #define KST_ISNAN(a) isnan(a) +#elif defined(__APPLE__) +#define KST_ISNAN(a) (a == NAN ? 1 : 0) #else #define KST_ISNAN(a) std::isnan(a)