This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: darwin & socklen_t
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: tromey at redhat dot com
- Cc: Michael Koch <konqueror at gmx dot de>, java-patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 26 Nov 2002 06:33:01 +0100
- Subject: Re: darwin & socklen_t
- References: <3DE26DE7.1050104@pop.agri.ch> <87r8d9e02y.fsf@fleche.redhat.com>
Hi Tom,
Tom Tromey wrote:
>>>>>"Andreas" == Andreas Tobler writes:
Andreas> First I fail when building prims.cc, a
Andreas> #ifndef HAVE_SOCKLEN_T
Andreas> #define socklen_t int
Andreas> #endif
Andreas> in include/posix.h does help until I build
Andreas> natPlainDatagramSocketImpl.cc where it complains about
redeclaration.
It seems to me that we could move this code from
natPlainDatagramSocketImpl.cc into posix.h.
Could you try that?
removing both instances, from natPlainDatagramSocketImpl.cc and from
natPlainSocketImpl.cc, and having the above only in posix.h compiles.
I try to do a complete build today.
Was this the meaning?
Thanks,
Andreas