[PATCH roland/off64_t] clean up wordsize-64 off_t functions
Joseph S. Myers
joseph@codesourcery.com
Thu Aug 2 20:46:00 GMT 2012
On Thu, 2 Aug 2012, Roland McGrath wrote:
> ia64 and powerpc64 don't have their own bits/typesizes.h files. So some
> more work will be required there too and again I'm not entirely sure
> what's best to do. We can make the generic bits/typesizes.h test
> __LP64__, but I'm not positive that all compiler versions that we
> support for those targets defined that. (Note that here we have to be
> concerned with all compilers that we support for building applications
> with libc headers, not just the compilers we support for building libc
> itself.)
How is this definition *used* by installed headers? 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. It appears __LP64__ has been defined
(if long and pointers are 64-bit and int is 32-bit) since at least GCC
3.4.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list