This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: darwin & socklen_t


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]