mirror of https://github.com/BOINC/boinc.git
Android: Android's standalone toolchain now includes a 'sys/shm.h' header file but does not the old-style shared memory segments.
Our Android port uses memory mapped files anyway, so just skip over it and get on with life.
This commit is contained in:
parent
2e5c5d04c3
commit
a998eeb0ed
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue