mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
build-sys: Fix building with Android toolchain
Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
3fd2004603
commit
35fea579cb
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue