Changeset 9080


Ignore:
Timestamp:
Sep 9, 2009, 3:23:50 AM (13 years ago)
Author:
charles
Message:

(trunk libT) a test commit -- possible fseek fix for Rabbitbunny

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r9074 r9080  
    9494
    9595AC_SYS_LARGEFILE
     96AC_CHECK_FUNCS([lseek64])
    9697
    9798
  • trunk/libtransmission/inout.c

    r9066 r9080  
    1111 */
    1212
     13#ifdef HAVE_LSEEK64
     14 #define _LARGEFILE64_SOURCE
     15#endif
     16
    1317#include <assert.h>
    1418#include <errno.h>
     
    5256tr_lseek( int fd, int64_t offset, int whence )
    5357{
    54 #if defined(_LARGEFILE_SOURCE)
     58#if defined( HAVE_LSEEK64 )
    5559    return lseek64( fd, (off64_t)offset, whence );
    56 #elif defined(WIN32)
     60#elif defined( WIN32 )
    5761    return _lseeki64( fd, offset, whence );
    5862#else
Note: See TracChangeset for help on using the changeset viewer.