Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-7.3

This commit is contained in:
Vítor Santos Costa 2013-11-05 17:15:09 +00:00
commit 8c66979817
2 changed files with 7 additions and 1 deletions

View File

@ -1299,10 +1299,13 @@ sysError(const char *fm, ...)
int
raiseSignal(PL_local_data_t *ld, int sig)
{ if (sig == SIG_THREAD_SIGNAL) {
{
#if THREADS
if (sig == SIG_THREAD_SIGNAL) {
Yap_signal(YAP_ITI_SIGNAL);
return TRUE;
}
#endif
fprintf(stderr, "Unsupported signal %d\n", sig);
return FALSE;
}

View File

@ -42,6 +42,9 @@
#define Int_MIN (-Int_MAX-(CELL)1)
#endif
#define PLMAXINT Int_MAX
#define PLMININT Int_MIN
typedef enum {
op_pi,
op_e,