[MPlayer-dev-eng] Re: [PATCH] GNU/kFreeBSD support

Robert Millan rmh at aybabtu.com
Tue Aug 23 09:39:44 CEST 2005


On Tue, Aug 23, 2005 at 01:10:47AM +0200, Diego Biurrun wrote:
> > > > -#ifdef __linux__
> > > > +#if defined(__linux__) || (defined(__GLIBC__) && (defined(__FreeBSD_kernel__) || defined(__NetBSD_kernel__)))
> > > 
> > > Are you sure about this NetBSD change?
> > 
> > I'm the person who made the Debian GNU/kNetBSD port (the one based on Glibc).
> > Although currently stalled, this system follows closely the configuration of
> > its sister GNU/kFreeBSD, which provides Linux-style procfs.
> > 
> > If you feel this is too sloppy, though, I'd remove the __NetBSD_kernel__ part.
> 
> It looks as though just __GLIBC__ should be enough.

The problem with that is that procfs is a kernel feature, and this code uses
Linux-style features (/proc/mounts).  We cannot garantee that all Glibc systems
have these features (and in fact, I think GNU/Hurd doesn't).

-- 
Robert Millan




More information about the MPlayer-dev-eng mailing list