On Thu, Nov 16, 2006 at 11:05:51AM -0500, Jeff Trawick wrote: > On 11/16/06, Joe Orton <[EMAIL PROTECTED]> 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 unreasonable. joe
