[PATCH, libiberty] mkstemps and binary mode

DJ Delorie dj@redhat.com
Wed May 10 20:26:00 GMT 2006


> #ifndef O_BINARY
> # define O_BINARY 0
> #endif
> 
> somewhere convenient and just add O_BINARY to that call
> and whereever else it's necessary.

This also makes it work on DJGPP, which has binary but doesn't define
_WIN32.



More information about the Gcc-patches mailing list