Changeset 9080
- Timestamp:
- Sep 9, 2009, 3:23:50 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r9074 r9080 94 94 95 95 AC_SYS_LARGEFILE 96 AC_CHECK_FUNCS([lseek64]) 96 97 97 98 -
trunk/libtransmission/inout.c
r9066 r9080 11 11 */ 12 12 13 #ifdef HAVE_LSEEK64 14 #define _LARGEFILE64_SOURCE 15 #endif 16 13 17 #include <assert.h> 14 18 #include <errno.h> … … 52 56 tr_lseek( int fd, int64_t offset, int whence ) 53 57 { 54 #if defined( _LARGEFILE_SOURCE)58 #if defined( HAVE_LSEEK64 ) 55 59 return lseek64( fd, (off64_t)offset, whence ); 56 #elif defined( WIN32)60 #elif defined( WIN32 ) 57 61 return _lseeki64( fd, offset, whence ); 58 62 #else
Note: See TracChangeset
for help on using the changeset viewer.