apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: APR_HAS_LARGE_FILES and 64-bit builds
Date Tue, 21 Nov 2006 10:20:37 GMT
On Thu, Nov 16, 2006 at 11:05:51AM -0500, Jeff Trawick wrote:
> On 11/16/06, Joe Orton <jorton@redhat.com> wrote:
> >Using sizeof(apr_off_t) should be sufficient for most cases where you
> >need to determine simply "can APR handle file sizes > 2Gb" at compile
> >time.
> Something for the preprocessor would be nice.  sizeof() won't work and
> _FILE_OFFSET_BITS seems ugly.

APR never redefines _FILE_OFFSET_BITS, that's no use at all in general.  
Adding an APR_SIZEOF_OFF_T or something on the trunk seems not 


View raw message