This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH roland/off64_t] clean up wordsize-64 off_t functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]