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

Joey Parrish joey at nicewarrior.org
Thu Jan 16 19:35:18 CET 2003


On Wed, Jan 15, 2003 at 07:33:33AM -0800, Sycotic Smith wrote:
> Maybe in one of the cygwin ifdefs instead, define basename() as mp_basename(), or would that break something else?

If we do it this way, put it in an ifdef that checks for libgen.h rather
than one that checks for cygwin.  That way we fix the issue for any
systems found in the future that also suffer from a lack of basename().
See the workaround for systems that have no IPv6, for example.  This was
a cygwin-specific problem when it was found, but adding an extra check
in configure saves us the trouble of hunting down all individual systems
that are afflicted.

--Joey


More information about the MPlayer-dev-eng mailing list