actually, i think it's worse than that. enough #ifdefs will make a given set of programs work, after much hand tweaking, but for each new program, you need to add even more #ifdefs.
Charles Forsyth <[EMAIL PROTECTED]> writes | | > 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!
