Ticket #6694: r20819_defines.patch

File r20819_defines.patch, 854 bytes (added by anonymous, 11 years ago)
  • libs/libmythtv/ThreadedFileWriter.cpp

     
    3030#if !HAVE_SYNC_FILE_RANGE
    3131extern int sync_file_range(int fd, off64_t offset, off64_t nbytes,
    3232                           unsigned int flags);
     33#define SYNC_FILE_RANGE_WRITE 2
    3334#endif
    3435
    3536#define LOC QString("TFW: ")
  • libs/libmythtv/RingBuffer.cpp

     
    1313
    1414#if !HAVE_POSIX_FADVISE
    1515extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
     16#define POSIX_FADV_SEQUENTIAL 2
    1617#endif
    1718
    1819// Qt headers