lkml.org 
[lkml]   [2005]   [Nov]   [8]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateTue, 8 Nov 2005 07:18:19 +0100
FromWilly Tarreau <>
SubjectRe: [PATCH 13/20] inflate: (arch) kill silly zlib typedefs
On Tue, Nov 08, 2005 at 03:05:57PM +0900, Miles Bader wrote:
> Willy Tarreau <willy@w.ods.org> writes:
> > I don't know if x86_64 is LP64 or LLP64 on Linux, but at least my alpha
> > and sparc64 are LP64, so is another PPC64 I use for code validation.
> > LPC64 is the recommended model for easier 32 to 64 portability (where
> > ints are 32 ; long, longlong, ptrs are 64).
> 
> Are there _any_ (widespread) platforms except Windows that use LLP64?

I don't think so, ask google for LLP64 and click the second link (blogs),
you will like it :-)

Basically, they choose LLP64 because they have declared some structures
as LONG (eg: in bitmaps) instead of making them int32 ! I didn't know
that they were losers to the point of not understanding a typedef !
This may explain why they stopped supporting alpha long ago...

> LP64 seems to be by far the most common in the unix world.

it seems so, but I'd be interested in counter-examples too.

> -miles
> -- 
> "1971 pickup truck; will trade for guns"

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-08 06:35    [from the cache]
©2003-2008