[csw-maintainers] libcurl and 64 bit on x86

Chad Harp harpchad at opencsw.org
Wed Apr 15 17:11:28 CEST 2009


Philip Brown wrote:
> 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.
> 
> 

I didn't choose those values but I can propose them upstream.  I simply 
take the two headers generated from the builds and wrap them.  If I try 
to make a custom curlbuild.h I'm going to have to redo it every time 
there is a new curl release.




More information about the maintainers mailing list