[MPlayer-dev-eng] MinGW hack in libaf/Makefile

Vladimir Voroshilov voroshil at gmail.com
Mon Mar 19 12:35:43 CET 2007


2007/3/19, Gianluigi Tiesi <mplayer at netfarm.it>:
>
> On Mon, Mar 19, 2007 at 01:52:28PM +0600, Vladimir Voroshilov wrote:
> > 2007/3/19, Diego Biurrun <diego at biurrun.de>:
> > >
> > >In libaf/Makefile we have
> > >
> > >  ifeq ($(TARGET_OS),MINGW32)
> > >  CFLAGS += -D_IO_H_
> > >  endif
> > >
> > >which was added by Sascha Sommer a loooong time ago:
> > >
> >
> >------------------------------------------------------------------------
> > >r9771 | faust3 | 2003-03-31 18:55:53 +0200 (Mon, 31 Mar 2003) | 2 lines
> > >
> > >workaround conflict with the MINGW32 open function
> >
> >------------------------------------------------------------------------
> > >
> > >Is it still a problem?  Can somebody test compilation with those lines
> > >removed?  I don't have access to a MinGW box.  I would like to remove
> > >this hack and fix the problem properly if necessary.
> > >
> > Yes. mplayer doesn compile without those define.
> > I guess attached patch will be enough good to fix it (patch works for me
> of
> > course).
> >
>
> Valdimir I suggest you to use dos2unix on the patch when you make it on
> win32, it will strip trailing ^M
> Bye


Thanks. I'll be more more carefull .


-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list