This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (4/6): i386-pc-interix support -- libio


law@cygnus.com (Jeffrey A Law) writes:

>   > Wed Jan 20 19:12:49 1999  Mumit Khan  <khan@xraylith.wisc.edu>
>   > 	
>   > 	* stdiostream.cc (_POSIX_SOURCE): Define. 
> Gross, but this does seem to be the way this is handled elsewhere in libio.

This seems not to be correct.  The fileno function of the system must
not be used.  Try replacing the fileno() call in stdiostream.cc with a
call to _IO_fileno() instead.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]