Including <limits.h> in gmp-impl.h

Marc Glisse marc.glisse at inria.fr
Fri Dec 27 22:05:22 UTC 2013


On Fri, 27 Dec 2013, Niels Möller wrote:

> Marc Glisse <marc.glisse at inria.fr> writes:
>
>> Then I am considering pushing the attached patch soon.
>
> Do we really need a configure test?

No idea. It seemed safer, and since we already have fallback code...
On the other hand, mini-gmp seems happy enough with <limits.h>.

If we really want to assume limits.h exists and works, there is more 
cleanup that can be done in gmp-impl.h (remove the fallback code for 
INT_MAX etc).

-- 
Marc Glisse


More information about the gmp-devel mailing list