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

List:       kde-commits
Subject:    KDE/kdeutils/kcalc
From:       Evan Teran <eteran () alum ! rit ! edu>
Date:       2010-09-03 23:52:25
Message-ID: 20100903235225.25F68AC884 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1171485 by teran:

removed no longer needed (since KNumber was introduced!) parts of 
kcalctypes.h and it turned out to be pretty much the entire header
since KNumber/GMP/Qt do a good enough job of providing portable
ways to deal with 64-bit unsigned integers (Qt's quint64 goes a long way).

So I removed all #include "kcalctypes.h" and the build look good.



 M  +0 -1      kcalc_core.cpp  
 M  +0 -1      kcalcdisplay.h  
 M  +0 -24     kcalctype.h  


--- trunk/KDE/kdeutils/kcalc/kcalc_core.cpp #1171484:1171485
@@ -47,7 +47,6 @@
 #include <kdebug.h>
 #include <klocale.h>
 #include <kmessagebox.h>
-#include "kcalctype.h"
 
 #ifndef HAVE_FUNC_ISINF
 #ifdef HAVE_IEEEFP_H
--- trunk/KDE/kdeutils/kcalc/kcalcdisplay.h #1171484:1171485
@@ -29,7 +29,6 @@
 #include <QFrame>
 #include <QVector>
 #include "knumber.h"
-#include "kcalctype.h"
 
 class CalcEngine;
 class KAction;
--- trunk/KDE/kdeutils/kcalc/kcalctype.h #1171484:1171485
@@ -32,28 +32,4 @@
 #include <float.h>
 #include <math.h>
 
-#undef HAVE_LONG_LONG
-#if defined(LLONG_MAX) && defined(HAVE_LONG_DOUBLE)
-#define KCALC_LONG_MIN LLONG_MIN
-#define KCALC_LONG_MAX LLONG_MAX
-#define KCALC_ULONG_MAX ULLONG_MAX
-#define KCALC_LONG long long
-#define HAVE_LONG_LONG
-#else
-#if defined(LONG_LONG_MAX) && defined(HAVE_LONG_DOUBLE)
-#define KCALC_LONG_MIN LONG_LONG_MIN
-#define KCALC_LONG_MAX LONG_LONG_MAX
-#define KCALC_ULONG_MAX ULONG_LONG_MAX
-#define KCALC_LONG long long
-#define HAVE_LONG_LONG
-#ifdef _HPUX_SOURCE
-#else
 #endif
-#else
-#define KCALC_LONG_MIN LONG_MIN
-#define KCALC_LONG_MAX LONG_MAX
-#define KCALC_ULONG_MAX ULONG_MAX
-#define KCALC_LONG long
-#endif
-#endif
-#endif
[prev in list] [next in list] [prev in thread] [next in thread] 

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