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