From d996b96e652198f7948e04d26f74272c7873e0f0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 9 Sep 2007 01:32:59 +0000 Subject: [PATCH] in WIN32, #define lseek _lseeki64 --- libtransmission/inout.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libtransmission/inout.c b/libtransmission/inout.c index 051bd9cb7..e290837af 100644 --- a/libtransmission/inout.c +++ b/libtransmission/inout.c @@ -38,6 +38,10 @@ struct tr_io_s enum { TR_IO_READ, TR_IO_WRITE }; +#ifdef WIN32 +#define lseek _lseeki64 +#endif + static int readOrWriteBytes ( const tr_torrent_t * tor, int ioMode,