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

List:       kde-commits
Subject:    KDE/kdebase/runtime/phonon/xine
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-07-16 15:29:40
Message-ID: 1216222180.361575.19929.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 833282 by mkretz:

fix off_t size check

 M  +1 -3      bytestream.h  
 M  +0 -4      bytestreamplugin.cpp  


--- trunk/KDE/kdebase/runtime/phonon/xine/bytestream.h #833281:833282
@@ -38,9 +38,7 @@
 #include <cstdlib>
 #include <QObject>
 
-#if not defined _FILE_OFFSET_BITS or _FILE_OFFSET_BITS != 64
-#error "_FILE_OFFSET_BITS needs to be set to 64"
-#endif
+extern const char Error__off_t_needs_to_have_64_bits[sizeof(off_t) == 8 ? 1 : -1];
 
 namespace Phonon
 {
--- trunk/KDE/kdebase/runtime/phonon/xine/bytestreamplugin.cpp #833281:833282
@@ -38,10 +38,6 @@
 #include "net_buf_ctrl.h"
 #undef this
 
-#if not defined _FILE_OFFSET_BITS or _FILE_OFFSET_BITS != 64
-#error "_FILE_OFFSET_BITS needs to be set to 64"
-#endif
-
 static void kbytestream_pause_cb(void *that_gen);
 static void kbytestream_normal_cb(void *that_gen);
 class KByteStreamInputPlugin : public input_plugin_t
[prev in list] [next in list] [prev in thread] [next in thread] 

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