darwin & socklen_t

Andreas Tobler toa@pop.agri.ch
Mon Nov 25 21:33:00 GMT 2002


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




More information about the Java-patches mailing list