Messages in this thread | | | From | Roland McGrath <> | Subject | Re: [RFC] asm-generic/{unistd,types,posix_types}.h for new arch | Date | Wed, 1 Apr 2009 14:32:19 -0700 (PDT) |
| |
> Actually, gcc does have the _LP64 and __SIZEOF_POINTER__ macros (as well > as __CHAR_BIT__), although I don't know how far back it does have that. > If it has been with us for long enough it might be possible to > switch over to using panarch macros.
Worst case the oldest compilers had <limits.h> and "#if ULONG_MAX == 0xffffffffUL", though I wouldn't like myself to be using a setup where <limits.h> got pulled in.
Thanks, Roland
| |