From: Johannes Sixt Date: Thu, 05 Mar 2009 20:53:45 GMT Subject: Re: [PATCH 2/2] MinGW: 64-bit file offsets Message-ID: <200903052153.45398.j6t@kdbg.org> In-Reply-To: On Donnerstag, 5. März 2009, Johannes Schindelin wrote: > The type 'off_t' should be used everywhere so that the bit-depth of that > type can be adjusted in the standard C library, and you just need to > recompile your program to benefit from the extended precision. > > Only that it was not done that way in the MS runtime library. > > This patch reroutes off_t to off64_t and provides the other necessary > changes so that finally, clones larger than 2 gigabyte work on Windows > (provided you are on a file system that allows files larger than 2gb). > > Initial patch by Sickboy . > > Signed-off-by: Johannes Schindelin Acked-by: Johannes Sixt -- Hannes