[Kst] kst_oldview_branch: kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon May 3 04:26:11 CEST 2004


CVS commit by staikos: 

Attempting to fix solaris 9 build with gcc 3.3
CCMAIL: sam at kalessin.jpl.nasa.gov


  M +5 -1      kstvector.cpp   1.66.2.1


--- kdeextragear-2/kst/kst/kstvector.cpp  #1.66:1.66.2.1
@@ -30,4 +30,8 @@
 #include "kstdebug.h"
 
+#ifdef __sun
+#include <ieeefp.h>
+#endif
+
 /*
 ** Both Solaris and FreeBSD-current do weird things with the
@@ -41,5 +45,5 @@
 #define KST_ISNAN(a)    (a == NAN ? 1 : 0)
 #else
-#define KST_ISNAN(a)    std::isnan(a)
+#define KST_ISNAN(a)    isnan(a)
 #endif
 





More information about the Kst mailing list