[MPlayer-cvslog] r23081 - trunk/vidix/dha.c
ben
subversion at mplayerhq.hu
Sun Apr 22 21:02:05 CEST 2007
Author: ben
Date: Sun Apr 22 21:02:05 2007
New Revision: 23081
Log:
fix dha compilation if SVGAHELPER is used (patch by Carl Eugen Hoyos
Modified:
trunk/vidix/dha.c
Modified: trunk/vidix/dha.c
==============================================================================
--- trunk/vidix/dha.c (original)
+++ trunk/vidix/dha.c Sun Apr 22 21:02:05 2007
@@ -138,7 +138,7 @@ dha_helper_way:
}
#endif
-#ifdef CONFIG_DHAHELPER
+#if defined(CONFIG_DHAHELPER) || defined (CONFIG_SVGAHELPER)
dev_mem_way:
#endif
#ifdef DEV_APERTURE
@@ -161,7 +161,7 @@ dev_mem_way:
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);
More information about the MPlayer-cvslog
mailing list