fix compilation without gmp.

This commit is contained in:
Vítor Santos Costa 2012-04-05 20:50:27 +01:00
parent bc2364c5dc
commit 7085008193

View File

@ -3622,8 +3622,10 @@ YAP_ListToFloats(Term t, double *dblp, size_t sz)
dblp[i++] = IntOfTerm(hd);
else if (IsLongIntTerm(hd))
dblp[i++] = LongIntOfTerm(hd);
#if USE_GMP
else if (IsBigIntTerm(hd))
dblp[i++] = Yap_gmp_to_float(hd);
#endif
else
return -1;
}