HAVE_GETCWD fails to include io.h

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Aug 22 21:56:00 GMT 2002


Adam Megacz wrote:
>Hrm, mingw won't build anymore because natSystem.cc uses getcwd()
>without #includ'ing io.h.
>>Where would the appropriate place be for me to add #include<io.h>? In
>win32.h? In a #ifdef-WIN32 block in natSystem.cc?
>
In win32.h would be best as <io.h> is a platform-specific header, and 
win32.h is already included by natSystem.cc.
regards
Bryce.


More information about the Java mailing list

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