[MPlayer-dev-eng] [PATCH] initial DragonFly BSD support

Diego Biurrun diego at biurrun.de
Sun Aug 29 18:28:10 CEST 2004


Pawel Biernacki writes:
> 
> On Sun, 29 Aug 2004, Joey Parrish wrote:
> 
> > Based on your patch, it seems as if DragonFly is (as far as MPlayer is
> > concerned) identical to FreeBSD.  Why not add to config.h:
> >
> > #ifdef __DragonFly__
> > #define __FreeBSD__
> > #endif
> >
> > ?
> 
> DragonFly gcc 2.95.4 define both __FreeBSD__ and __DragonFly__, but new 
> gcc 3.4.1 define only __DragonFly__.

Then why not test for DragonFly in configure and #define __FreeBSD__ in
config.h if DragonFly is detected?

Diego




More information about the MPlayer-dev-eng mailing list