mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
in WIN32, #define lseek _lseeki64
This commit is contained in:
parent
b0505157a4
commit
d996b96e65
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ struct tr_io_s
|
||||||
|
|
||||||
enum { TR_IO_READ, TR_IO_WRITE };
|
enum { TR_IO_READ, TR_IO_WRITE };
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
#define lseek _lseeki64
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
readOrWriteBytes ( const tr_torrent_t * tor,
|
readOrWriteBytes ( const tr_torrent_t * tor,
|
||||||
int ioMode,
|
int ioMode,
|
||||||
|
|
Loading…
Reference in a new issue