> At least in Solaris the #define for both amd64 and SPARC64 is `LP64'. > This is found in one of the include files under feature_tests.h (see > cvs.opensolaris.org).
yes, they went for the model where long changes size like pointers. the difference is that relatively few applications see pointer representations but quite a few rely on shifts, masks, etc. of `long' that are functions of 32 not 64. but obviously enough ifdefs will compensate for everything, as usual!
