[x264-devel] [PATCH] Check whether posix_madvise exists.

Henrik Gramner henrik at gramner.com
Sun Nov 15 21:15:36 CET 2015


On Thu, Nov 12, 2015 at 9:30 AM, Xiaolei Yu <dreifachstein at gmail.com> wrote:
> Android supports mmap but does not expose posix_madvise.
> ---
>  configure     | 3 ++-
>  input/input.c | 2 ++
>  2 files changed, 4 insertions(+), 1 deletion(-)

Thanks for the report.

Interestingly enough Android apparently supports madvise() but not
posix_madvise(), so I chose to handle it in a different way by
explicitly checking for the existence of either one.

Sandbox updated with the changes squashed into the original commit.


More information about the x264-devel mailing list