no_readline patches

avoid warnings in no_gmp world
avoid complaining by Solaris
This commit is contained in:
Costa Vitor
2009-06-15 14:59:50 -05:00
parent b7b3abb2c7
commit de5a09039f
3 changed files with 16 additions and 19 deletions

View File

@@ -583,8 +583,8 @@ a_cmp(Term t1, Term t2)
} else {
return FALSE;
}
} else if (IsBigIntTerm(t1)) {
#ifdef USE_GMP
} else if (IsBigIntTerm(t1)) {
{
MP_INT *b1 = Yap_BigIntOfTerm(t1);
t2 = Yap_Eval(t2);