| Store | Cart

Re: [PATCH] Avoid redefinition warning for MinGW

From: Rafael Garcia-Suarez <rgar...@gmail.com>
Mon, 27 Jun 2005 23:56:33 +0200
On 6/27/05, Mattia Barbon <matt...@libero.it> wrote:
>   Hello,> the patch avoids warning like this one:> > C:/Programmi/Devel/Perl58/lib/CORE/win32iop.h:226:1: warning: "fileno" redefined> In file included from C:/Programmi/Devel/Perl58/lib/CORE/win32.h:74,>                  from C:/Programmi/Devel/Perl58/lib/CORE/win32thread.h:4,>                  from C:/Programmi/Devel/Perl58/lib/CORE/perl.h:2056,> > when building perl core and extensions on Windows with MinGW.> > Regards> Mattia> > --- win32iop.h  Fri Jun 24 14:55:28 2005> +++ win32iop.h  Mon Jun 27 21:17:56 2005

Thanks, applied as #24999.

> @@ -192,4 +192,7 @@>  #undef getchar>  #undef putchar> +#endif> +> +#if defined(__MINGW32__) || defined(__BORLANDC__)>  #undef fileno>  #endif> > >

Recent Messages in this Thread
Mattia Barbon Jun 27, 2005 08:07 pm
Rafael Garcia-Suarez Jun 27, 2005 09:56 pm
Messages in this thread