[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 67063] kdeutils/kcalc won't link on Solaris
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-11-02 17:24:53
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=67063     
coolo@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From coolo@kde.org  2003-11-02 18:24 -------
Subject: kdeutils/kcalc

CVS commit by coolo: 

make it link
CCMAIL: 67063-done@bugs.kde.org


  M +11 -0     kcalc_core.cpp   1.82
  M +0 -10     kcalc_core.h   1.4


--- kdeutils/kcalc/kcalc_core.cpp  #1.81:1.82
@@ -45,8 +45,19 @@
 #endif
 
+#include <config.h>
 #include "kcalc_core.h"
 #include <stdlib.h>
 #include <klocale.h>
 #include <kmessagebox.h>
+
+#ifndef HAVE_FUNC_ISINF
+        #ifdef HAVE_IEEEFP_H
+                #include <ieeefp.h>
+        #else
+                #include <math.h>
+        #endif
+
+int isinf(double x) { return !finite(x) && x==x; }
+#endif
 
 

--- kdeutils/kcalc/kcalc_core.h  #1.3:1.4
@@ -59,14 +59,4 @@ typedef	CALCAMNT	(*Trig)(CALCAMNT);
 #define UNUSED(x) ((void)(x))
 
-#ifndef HAVE_FUNC_ISINF
-        #ifdef HAVE_IEEEFP_H
-                #include <ieeefp.h>
-        #else
-                #include <math.h>
-        #endif
-
-int isinf(double x) { return !finite(x) && x==x; }
-#endif
-
 typedef enum _angle_type
 {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic