mirror of https://github.com/FFmpeg/FFmpeg.git
Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without providing (working) mmap and friends. The mmx filter generation code checks only for MAP_ANONYMOUS, not for availability of mmap itself which leads to build errors on aforementioned systems. This changes the conditional compilation to use mmap only if all the required functions are available. Signed-off-by: Mans Rullgard <mans@mansr.com>pull/6/head
parent
e98b02de5f
commit
95cd815c36
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue