This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: darwin & socklen_t
- From: Tom Tromey <tromey at redhat dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: Michael Koch <konqueror at gmx dot de>, java-patches <java-patches at gcc dot gnu dot org>, Stan Shebs <shebs at apple dot com>
- Date: 25 Nov 2002 15:49:57 -0700
- Subject: Re: darwin & socklen_t
- References: <3DE26DE7.1050104@pop.agri.ch>
- Reply-to: tromey at redhat dot com
>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> 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?
Tom