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

Diego Biurrun diego at biurrun.de
Mon Mar 19 10:55:08 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).

That's the solution I came up with yesterday as well, I just did not
finish writing the mail I just sent as reply to myself, I was too
tired..

Diego



More information about the MPlayer-dev-eng mailing list