diff --git a/lib/shmem.cpp b/lib/shmem.cpp index ea88e889e9..19d63cd486 100644 --- a/lib/shmem.cpp +++ b/lib/shmem.cpp @@ -395,7 +395,7 @@ int detach_shmem_mmap(void* p, size_t size) { return munmap((char *)p, size); } -#if HAVE_SYS_SHM_H +#if HAVE_SYS_SHM_H && !defined(ANDROID) // Compatibility routines for Unix/Linux/Mac V5 applications //