on DU4.0d/alpha, gethostbyname_r is only declared with -D_REENTRANT
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jul 20 15:49:00 GMT 1999
On Jul 19, 1999, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
> So java/net/natInetAddress.cc fails to compile with g++ 2.95 (unless
> -fpermissive is given, of course).
And it is very good that it fails to compile! After arranging that
_REENTRANT is declared, I found out the signature is completely
different. Here's a patch that adds support for DU4's
gethostby{name,addr}_r:
More information about the Java
mailing list