From kde-commits Wed Jul 16 08:31:14 2008 From: Matthias Kretz Date: Wed, 16 Jul 2008 08:31:14 +0000 To: kde-commits Subject: KDE/kdebase/runtime/phonon/xine Message-Id: <1216197074.844471.25792.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121619873416716 SVN commit 833115 by mkretz: better be safe than sorry, in case this code ever becomes Qt-only M +4 -0 bytestream.h M +4 -0 bytestreamplugin.cpp --- trunk/KDE/kdebase/runtime/phonon/xine/bytestream.h #833114:833115 @@ -38,6 +38,10 @@ #include #include +#if not defined _FILE_OFFSET_BITS or _FILE_OFFSET_BITS != 64 +#error "_FILE_OFFSET_BITS needs to be set to 64" +#endif + namespace Phonon { namespace Xine --- trunk/KDE/kdebase/runtime/phonon/xine/bytestreamplugin.cpp #833114:833115 @@ -38,6 +38,10 @@ #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