mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 21:31:13 +00:00
fix dha compilation if SVGAHELPER is used (patch by Carl Eugen Hoyos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23081 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b453bba0b1
commit
66db4d52d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user