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

List:       kde-commits
Subject:    KDE/kdeedu/kalzium
From:       Eckhart Wörner <ew () ewsoftware ! de>
Date:       2009-01-04 12:26:16
Message-ID: 1231071976.137115.17176.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 905384 by ewoerner:

krazy: Check for cpp macros and usage (2 issues)
* O/S or Compiler specific macro


 M  +2 -0      CMakeLists.txt  
 M  +1 -1      src/kalziumutils.cpp  
 M  +1 -1      src/spectrumwidget.cpp  


--- trunk/KDE/kdeedu/kalzium/CMakeLists.txt #905383:905384
@@ -13,6 +13,8 @@
 	add_subdirectory(compoundviewer)
 endif(OPENBABEL2_FOUND AND OPENGL_FOUND AND EIGEN_FOUND)
 
+check_include_files(ieeefp.h HAVE_IEEEFP_H)
+
 add_subdirectory(src)
 add_subdirectory(data)
 add_subdirectory(plasmoid)
--- trunk/KDE/kdeedu/kalzium/src/kalziumutils.cpp #905383:905384
@@ -26,7 +26,7 @@
 #include "prefs.h"
 
 #include <math.h>
-#if defined(Q_OS_SOLARIS)
+#if defined(HAVE_IEEEFP_H)
 #include <ieeefp.h>
 #endif
 
--- trunk/KDE/kdeedu/kalzium/src/spectrumwidget.cpp #905383:905384
@@ -35,7 +35,7 @@
 #include <QPixmap>
 
 #include <qglobal.h>
-#if defined(Q_OS_SOLARIS)
+#if defined(HAVE_IEEEFP_H)
 #include <ieeefp.h>
 #endif
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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