On Fri, Aug 03, 2001 at 07:19:42PM -0400, Christopher C. Chimelis wrote: > > On Fri, 3 Aug 2001, Matthew Wilcox wrote: > > > __LP64__ is _supposed_ to be defined by mumble-standard compliant > > compilers... > > Hehehehe...never knew that. I don't think it was ever defined on > Alpha. I'll look back at older gcc sources to be sure, but it's not > defined even in 3.0. Sure it's a standards thing?
Hum, seems I'm wrong. http://isisesc.supelec.fr/list-egcs/archive/March2000/0520.html This _really_ sucks. #ifdef __LP64__ was rather convenient. #if defined(__LP64__) || defined (__alpha) || _MIPS_SZLONG==64 || ... is _not_ convenient. In the kernel, we normally use BITS_PER_LONG == 64, I don't suppose you userspace people have anything this useful, do you? -- Revolutions do not require corporate support.

