on DU4.0d/alpha, gethostbyname_r is only declared with -D_REENTRANT

Tom Tromey tromey@cygnus.com
Tue Jul 20 11:05:00 GMT 1999


>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:

Alexandre> I'm yet to write some shell code to tell which threads
Alexandre> package to use based on platform I'm.  Having to specify it
Alexandre> manually doesn't allow for cut&paste across 10 different
Alexandre> platforms :-)

Yeah.  Ideally we could have gcc default to the right thing, and then
have a shared snippet of configure.in code for everything that needs
to know.  I don't know how the gcc hackers feel about this though.

Tom


More information about the Java mailing list