[csw-maintainers] libcurl and 64 bit on x86
Philip Brown
phil at bolthole.com
Wed Apr 15 16:59:31 CEST 2009
On Wed, Apr 15, 2009 at 09:43:12AM -0500, Chad Harp wrote:
> I opted not to make the changes to curlbuild.h because there were
> several lines (other than the sizeof(long) we discussed) that would have
> to change (see diff below). I think this will be more easily adapted to
> future versions.
for the record, I think you chose the wrong replacement values. please take
a deeper look into sys/types.h.
for example
> > #define CURL_TYPEOF_CURL_OFF_T long
should be
#define CURL_TYPEOF_CURL_OFF_T offset_t
and CURL_TYPEOF_CURL_OFF_TU should be u_offset_t
This will work cleanly for both 32bit and 64bit.
More information about the maintainers
mailing list