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

Gianluigi Tiesi mplayer at netfarm.it
Mon Mar 19 12:31:31 CET 2007


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

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list