natPlainDatagramSocketImpl.cc (socklen_t): Don't define.
2002-11-26 Andreas Tobler <a.tobler@schweiz.ch> * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't define. * java/net/natPlainSocketImpl.cc (socklen_t): Don't define. * include/posix.h (socklen_t): Define if not already defined. From-SVN: r59533
This commit is contained in:
committed by
Tom Tromey
parent
13c22933ff
commit
32e098dd98
@@ -58,6 +58,10 @@ _Jv_platform_close_on_exec (jint fd)
|
||||
|
||||
#ifndef DISABLE_JAVA_NET
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
||||
static inline int
|
||||
_Jv_socket (int domain, int type, int protocol)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user