build-sys: Fix building with Android toolchain

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2013-09-18 16:22:00 +02:00 committed by Arun Raghavan
parent 3fd2004603
commit 35fea579cb
3 changed files with 5 additions and 5 deletions

View file

@ -1003,7 +1003,7 @@ int main(int argc, char *argv[]) {
pa_log_info(_("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!"));
if (conf->lock_memory) {
#ifdef HAVE_SYS_MMAN_H
#if defined(HAVE_SYS_MMAN_H) && !defined(__ANDROID__)
if (mlockall(MCL_FUTURE) < 0)
pa_log_warn("mlockall() failed: %s", pa_cstrerror(errno));
else