Mercurial > mplayer.hg
changeset 23063:cc0627bce6bf
fix dha compilation if SVGAHELPER is used (patch by Carl Eugen Hoyos
author | ben |
---|---|
date | Sun, 22 Apr 2007 19:02:05 +0000 |
parents | 3369c0873d04 |
children | bce25afc83be |
files | vidix/dha.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/dha.c Sun Apr 22 18:54:16 2007 +0000 +++ b/vidix/dha.c Sun Apr 22 19:02:05 2007 +0000 @@ -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);