--- a/compiler/make.build.m +++ b/compiler/make.build.m @@ -612,6 +612,15 @@ #include #define MC_HAVE_JOBCTL_IPC 1 + #elif defined(__ANDROID__) + #include + #define semid_ds semid64_ds +int semctl(int, int, int, ...); +int semget(key_t, int, int); +int semop(int, struct sembuf *, size_t); + + #define MC_USE_SYSV_SEMAPHORE 1 + #define MC_HAVE_JOBCTL_IPC 1 #elif defined(MR_HAVE_SYS_SEM_H) #include