cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Helping apps use 64bit with libcurl

From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 26 May 2008 16:25:57 +0100

Daniel Stenberg wrote:
> Then, we could extend our current check in curl/include/curl.h and make
> that #warn if curl_off_t is > 4 bytes but no LFS define is set. That check
> really only works on POSIX-like systems.

On platforms which have always historically been 64-bit, isn't it
normal to have sizeof(off_t) == 8 with no LFS define? I.e. the LFS
define makes no difference, so some apps might reasonably not use it
on those platforms.

-- Jamie
Received on 2008-05-26