fix syntax error without GMP

This commit is contained in:
Vitor Santos Costa 2009-04-27 17:20:53 -05:00
parent 61ad7c6da8
commit 9c4e4b12bb
1 changed files with 1 additions and 6 deletions

View File

@ -138,14 +138,9 @@ sl_overflow(Int x,Int i)
inline static Term inline static Term
do_sll(Int i, Int j) do_sll(Int i, Int j)
{ {
if (sl_overflow(i,j)) {
#ifdef USE_GMP #ifdef USE_GMP
if (sl_overflow(i,j)) {
return Yap_gmp_sll_ints(i, j); return Yap_gmp_sll_ints(i, j);
#else
Yap_Error(EVALUATION_ERROR_INT_OVERFLOW, t1,
"rem/2 with %d and %d", i1, i2);
P = (yamop *)FAILCODE;
RERROR();
#endif #endif
} }
RINT(i << j); RINT(i << j);