[MPlayer-dev-eng] [PATCH] replace glibc basename by macro to fix --enable-menu on Cygwin

Diego Biurrun diego at biurrun.de
Wed Jan 15 00:09:39 CET 2003


Hi!

I noticed some time ago that --enable-menu fails to compile on Cygwin 
because menu_pt.c #includes libgen.h that is part of glibc and not 
available under Cygwin.  I therefore ripped the macro mp_basename out of 
mplayer.c and put it in menu_pt.c instead of libgen.h.  It compiles, it 
works.  I probably got it all wrong, so please tell me what I have to do 
differently.  Anyway, here is the patch.

Diego
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: menu.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030115/43e22e52/attachment.asc>


More information about the MPlayer-dev-eng mailing list