[Kst] extragear/graphics/kst/src/datasources/dirfile

George Staikos staikos at kde.org
Wed Apr 19 00:03:23 CEST 2006


SVN commit 531302 by staikos:

prefer config.h.  This is qt-independent


 M  +3 -2      getdata.h  


--- trunk/extragear/graphics/kst/src/datasources/dirfile/getdata.h #531301:531302
@@ -2,6 +2,8 @@
 #ifndef GETDATA_H
 #define GETDATA_H
 
+#include <config.h>
+
 /* The following has been extracted from internal.cpp from kjs */
 
 /*
@@ -9,13 +11,12 @@
 */
 
 #if !defined(NAN)
-#include <qconfig.h>
 static double __NAN()
 {
   /* work around some strict alignment requirements
      for double variables on some architectures (e.g. PA-RISC) */
   typedef union { unsigned char b[8]; double d; } kjs_double_t;
-#if Q_BYTE_ORDER == Q_BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
   static const kjs_double_t NaN_Bytes = { { 0x7f, 0xf8, 0, 0, 0, 0, 0, 0 } };
 #elif defined(arm)
   static const kjs_double_t NaN_Bytes = { { 0, 0, 0xf8, 0x7f, 0, 0, 0, 0 } };


More information about the Kst mailing list