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

Vladimir Voroshilov voroshil at gmail.com
Mon Mar 19 08:52:28 CET 2007


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).

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libaf_open_fix.diff
Type: application/octet-stream
Size: 10997 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070319/c8ee7dbe/attachment.obj>


More information about the MPlayer-dev-eng mailing list