classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] RFC: checking for socklen_t


From: Andreas Tobler
Subject: Re: [cp-patches] RFC: checking for socklen_t
Date: Sun, 01 Jan 2006 23:42:49 +0100
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Christian Thalinger wrote:
Hi!

I tried to compile classpath on a quite old system:

$ uname -a OSF1 mips.complang.tuwien.ac.at V4.0 878 alpha

And on this system socklen_t isn't defined.  This macro taken from
 http://ac-archive.sourceforge.net/Miscellaneous/type_socklen_t.html

checks for socklen_t and define it to `int' if not found (Andrew Pinski
will surely complain here ;-)

Well, he hasn't yet, but I'll add my comment here.

I'd like to see it as an unsigned int and not an int. Most systems I know use unsigned int for socklen_t. Posix.1g also recommends to use uint32_t for socklen_t.

Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]