[PATCH] 1/2 Start header file merger (Was: Re: Beginning Merger Patch)

Segher Boessenkool segher at kernel.crashing.org
Tue Aug 30 01:44:34 EST 2005


> Anyone care to take a semi-authoritative stand on what
> symbol to use to distinguish 32/64-bit-ness in the
> include files?

It depends on what you are testing for.

Sometimes __LP64__ would be best (when you want to know
the size of pointers etc.), sometimes __powerpc64__ (when
you need to know the available instruction set), and
I'm sure there are cases where you should use a different
symbol altogether, because you are testing something else.


Segher




More information about the Linuxppc-dev mailing list