[MPlayer-dev-eng] libvo/vo_yuv4mpeg.c portability fix

D Richard Felker III dalias at aerifal.cx
Sun Feb 10 17:12:21 CET 2002


On Sun, Feb 10, 2002 at 12:48:39AM -0800, Steven M. Schultz wrote:
> Greetings -
> 
> 	I have a _very_ small portability suggestion for one module in MPlayer:
> 	
> --- vo_yuv4mpeg.c.dist	Sat Feb  9 05:58:37 2002
> +++ vo_yuv4mpeg.c	Sun Feb 10 00:42:32 2002
> @@ -28,7 +28,7 @@
>  #include <signal.h>
>  #include <sys/wait.h>
>  
> -#ifndef __FreeBSD__
> +#if	!defined( __FreeBSD__) && !defined(__bsdi__)
>  #include <linux/videodev.h>
>  #endif

why on earth isn't this #ifndef __linux__ or something? as far as i
know, only linux-based systems have linux/* includes, and bsd is not
the only other system out there.

rich




More information about the MPlayer-dev-eng mailing list