• Mans Rullgard's avatar
    swscale: try to use mmap only if available · 95cd815c
    Mans Rullgard authored
    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: 's avatarMans Rullgard <mans@mansr.com>
    95cd815c
Name
Last commit
Last update
..
bfin Loading commit data...
ppc Loading commit data...
sparc Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
colorspace-test.c Loading commit data...
input.c Loading commit data...
libswscale.v Loading commit data...
options.c Loading commit data...
output.c Loading commit data...
rgb2rgb.c Loading commit data...
rgb2rgb.h Loading commit data...
rgb2rgb_template.c Loading commit data...
swscale-test.c Loading commit data...
swscale.c Loading commit data...
swscale.h Loading commit data...
swscale_internal.h Loading commit data...
swscale_unscaled.c Loading commit data...
utils.c Loading commit data...
version.h Loading commit data...
yuv2rgb.c Loading commit data...