From 445a7f33c12ae22b6c0c1cd9fc9c79e29833c3ca Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Fri, 22 Apr 2016 18:21:45 +0100 Subject: [PATCH] ANDROID doesn't ;like signals.. --- os/sig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/os/sig.c b/os/sig.c index 5e2e6c6bb..7df2094a0 100644 --- a/os/sig.c +++ b/os/sig.c @@ -1,7 +1,7 @@ #include "sysbits.h" -#if HAVE_SIGNAL +#if HAVE_SIGNAL || __ANDROID__ #ifdef MSH @@ -881,7 +881,9 @@ void Yap_InitSignalPreds(void) { CACHE_REGS Term cm = CurrentModule; +#ifndef __ANDROID__ Yap_InitCPred("$fpe_error", 0, fpe_error, 0); +#endif Yap_InitCPred("$alarm", 4, alarm4, SafePredFlag | SyncPredFlag); CurrentModule = HACKS_MODULE; Yap_InitCPred("virtual_alarm", 4, virtual_alarm, SafePredFlag | SyncPredFlag);