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:
parent
13c22933ff
commit
32e098dd98
4 changed files with 11 additions and 6 deletions
|
@ -151,9 +151,6 @@ java::net::PlainDatagramSocketImpl::getOption (jint)
|
|||
|
||||
#else /* DISABLE_JAVA_NET */
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
union SockAddr
|
||||
{
|
||||
|
|
|
@ -61,9 +61,6 @@ read(int s, void *buf, int len)
|
|||
#include <bstring.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#include <gcj/cni.h>
|
||||
#include <gcj/javaprims.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue