Fix mingw32 builds.
From-SVN: r71299
This commit is contained in:
parent
6b00c969c4
commit
cda85569ad
@ -1,3 +1,10 @@
|
||||
2003-09-10 Anthony Green <green@redhat.com>
|
||||
|
||||
* gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
|
||||
Specify full name when referencing ::java::net::InetAddress.
|
||||
* gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
|
||||
Fix argument type.
|
||||
|
||||
2003-09-10 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* acconfig.h (__NO_MATH_INLINES): Removed.
|
||||
|
@ -235,7 +235,7 @@ gnu::java::net::PlainDatagramSocketImpl::peekData(::java::net::DatagramPacket *p
|
||||
else
|
||||
throw new ::java::net::SocketException (JvNewStringUTF ("invalid family"));
|
||||
|
||||
p->setAddress (new InetAddress (raddr, NULL));
|
||||
p->setAddress (new ::java::net::InetAddress (raddr, NULL));
|
||||
p->setPort (rport);
|
||||
p->setLength ((jint) retlen);
|
||||
return rport;
|
||||
|
@ -228,7 +228,7 @@ gnu::java::net::PlainSocketImpl::listen (jint backlog)
|
||||
}
|
||||
|
||||
void
|
||||
gnu::java::net::PlainSocketImpl::accept (::java::net::PlainSocketImpl *s)
|
||||
gnu::java::net::PlainSocketImpl::accept (gnu::java::net::PlainSocketImpl *s)
|
||||
{
|
||||
union SockAddr u;
|
||||
socklen_t addrlen = sizeof(u);
|
||||
@ -312,7 +312,7 @@ gnu::java::net::PlainSocketImpl::accept (::java::net::PlainSocketImpl *s)
|
||||
|
||||
s->fnum = new_socket;
|
||||
s->localport = localport;
|
||||
s->address = new InetAddress (raddr, NULL);
|
||||
s->address = new ::java::net::InetAddress (raddr, NULL);
|
||||
s->port = rport;
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user