curl-library
Re: large file support on Mingw
Date: Thu, 21 Jun 2007 17:27:50 -0400
Joe Nardone wrote:
>> I am trying to get large file (> 2GB) support for a simple app building
>> on Mingw. I note that when configuring to build libcurl (7.16.2), none
>> of the large file support triggers seem to trip, and a simple PUT of a
>> file via curl_easy_perform() results in an error from a wrapped four
>> byte data type. The same code works fine on Linux, where the 2.1 GB
>> file is transferred to the same server but the offset is clearly 64 bit
>
> It looks like this patch might help:
>
> http://oss.netfarm.it/mplayer/misc/file64_mingw.diff
>
>
Was updating mingw runtime when I saw your note. Thanks for the help.
The patch more or less worked after a quick bit of work to silence the
double definition in curl/lib/setup.h
regards,
mark
Received on 2007-06-21