From kde-commits Sat Jan 31 22:18:58 2004 From: George Staikos Date: Sat, 31 Jan 2004 22:18:58 +0000 To: kde-commits Subject: kdeextragear-2/kst/kst Message-Id: <20040131221858.9BB009922 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=107558754826740 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)