This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH roland/off64_t] clean up wordsize-64 off_t functions
> How is this definition *used* by installed headers?
Oh, it's not at all. Good point.
> If installed headers don't use it (only define it), it could be
> conditioned on _LIBC so it's clear it's not a public interface.
We don't do that for other cases like _DIRENT_HAVE_*, so I don't
see a reason to do it here.
> It appears __LP64__ has been defined (if long and pointers are 64-bit and
> int is 32-bit) since at least GCC 3.4.
Good to know. I'll use that in bits/typesizes.h and that should cover
ia64 and powerpc64 just fine.
Thanks,
Roland