HAVE_GETCWD fails to include io.h

Ranjit Mathew rmathew@hotmail.com
Sat Aug 24 00:16:00 GMT 2002


Tom Tromey wrote:
>>>>>>"Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:
>>>>>>>>>In win32.h would be best as <io.h> is a platform-specific header,
>>>and win32.h is already included by natSystem.cc.
>>>> Ranjit> Be careful - when I did this, I got errors on conflicting
> Ranjit> redeclarations of close( ) - as a kludge I just #included
> Ranjit> io.h in natSystem.cc.
>> Did you get these errors while building natSystem.cc? Or somewhere in
> java.net? Did you see Tony Kimball's patch to change the java.net
> code not to redefine close? If the problem is in java.net we could
> check in that part of his patch.

Zigackly!
To be precise, while building
libjava/java/net/natPlainSocketImpl.cc and
libjava/java/net/natPlainDatagramSocketImpl.cc.
Unfortunately, I saw Tony's patch only after reading
your message.
Thanks for your support.
Sincerely Yours,
Ranjit.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /