ANDROID doesn't ;like signals..
This commit is contained in:
parent
ea90785c6a
commit
445a7f33c1
4
os/sig.c
4
os/sig.c
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#include "sysbits.h"
|
#include "sysbits.h"
|
||||||
|
|
||||||
#if HAVE_SIGNAL
|
#if HAVE_SIGNAL || __ANDROID__
|
||||||
|
|
||||||
#ifdef MSH
|
#ifdef MSH
|
||||||
|
|
||||||
@ -881,7 +881,9 @@ void Yap_InitSignalPreds(void) {
|
|||||||
CACHE_REGS
|
CACHE_REGS
|
||||||
Term cm = CurrentModule;
|
Term cm = CurrentModule;
|
||||||
|
|
||||||
|
#ifndef __ANDROID__
|
||||||
Yap_InitCPred("$fpe_error", 0, fpe_error, 0);
|
Yap_InitCPred("$fpe_error", 0, fpe_error, 0);
|
||||||
|
#endif
|
||||||
Yap_InitCPred("$alarm", 4, alarm4, SafePredFlag | SyncPredFlag);
|
Yap_InitCPred("$alarm", 4, alarm4, SafePredFlag | SyncPredFlag);
|
||||||
CurrentModule = HACKS_MODULE;
|
CurrentModule = HACKS_MODULE;
|
||||||
Yap_InitCPred("virtual_alarm", 4, virtual_alarm, SafePredFlag | SyncPredFlag);
|
Yap_InitCPred("virtual_alarm", 4, virtual_alarm, SafePredFlag | SyncPredFlag);
|
||||||
|
Reference in New Issue
Block a user