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: CPP warnings under DJGPP


On Wed, May 31, 2000 at 10:05:53PM +0300, Laurynas Biveinis wrote:
> Per Bothner wrote:
> > I've used
> >         #ifndef O_BINARY
> >         #define O_BINARY 0
> >         #endif
> > as a relatively clean solution to this DOS brain-damage.
> 
> OK, what about following?
> 
> 2000-05-31 Laurynas Biveinis <lauras@softhome.net>
> 
> 	* cppfiles.c: conditionally define O_BINARY.
> 	  (open_include_file): pass O_BINARY to open().

Looks good to me.  I'll apply it as soon as I verify it doesn't cause
problems on my (Unixish) system.

zw

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