MinGW: use off64_t and lseek64()
commit3cb35a31b04fb8e5cbfda3affcaa87dfee620355
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 19 Feb 2009 19:32:47 +0000 (19 20:32 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 19 Feb 2009 19:32:47 +0000 (19 20:32 +0100)
treec3a3de7c272d32c908145433b28eebebef8d9b29
parentc09458c701353b8e0ad92fe2d0245636e17cb8b8
MinGW: use off64_t and lseek64()

On Windows, off_t is restricted to 32-bit, even if it is perfectly
capable of using 64-bit offsets; Force the use of 64-bit offsets
by overriding the declarations of off_t and lseek() with their 64-bit
counterparts.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/mingw.h