From kde-commits Wed Jul 16 15:29:40 2008 From: Matthias Kretz Date: Wed, 16 Jul 2008 15:29:40 +0000 To: kde-commits Subject: KDE/kdebase/runtime/phonon/xine Message-Id: <1216222180.361575.19929.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121622242031982 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 #include -#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