[MPlayer-dev-eng] [PATCH] Allow compilation of vidix/dha.c with SVGAHELPER
Benjamin Zores
ben at geexbox.org
Sun Apr 22 21:02:30 CEST 2007
Carl Eugen Hoyos a écrit :
> Hi!
>
> Attached patch fixes compilation of vidix/dha.c if SVGAHELPER is used.
>
> Carl Eugen
>
>
>
> ------------------------------------------------------------------------
>
> Index: vidix/dha.c
> ===================================================================
> --- vidix/dha.c (Revision 23079)
> +++ vidix/dha.c (Arbeitskopie)
> @@ -138,7 +138,7 @@
> }
> #endif
>
> -#ifdef CONFIG_DHAHELPER
> +#if defined(CONFIG_DHAHELPER) || defined (CONFIG_SVGAHELPER)
> dev_mem_way:
> #endif
> #ifdef DEV_APERTURE
> @@ -161,7 +161,7 @@
> return MAP_FAILED;
> }
>
> -#ifdef CONFIG_DHAHELPER
> +#if defined(CONFIG_DHAHELPER) || defined (CONFIG_SVGAHELPER)
> mmap:
> #endif
> return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
thx.
Applied.
Ben
More information about the MPlayer-dev-eng
mailing list