This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: CPP warnings under DJGPP
- To: Laurynas Biveinis <lauras at softhome dot net>
- Subject: Re: CPP warnings under DJGPP
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Wed, 31 May 2000 14:39:02 -0700
- Cc: Per Bothner <per at bothner dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- References: <3933FCBD.D9B0197E@softhome.net> <m24s7fj1u8.fsf@kelso.bothner.com> <39356291.A35D3F58@softhome.net>
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