commit | e3eed7f8d238e895922851315447f5df9c475f11 | [log] [tgz] |
---|---|---|
author | Nick Alcock <nix@esperi.org.uk> | Wed Nov 02 15:46:22 2011 +0000 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Nov 02 13:06:30 2011 -0700 |
tree | 23a236f94d6d13c52fc022530702db0696463d2f | |
parent | f696543dad6c7ba27b0c4fab167a5687263a9ba0 [diff] |
Add strtoimax() compatibility function. Since systems that omit strtoumax() will likely omit strtomax() too, and likewise for strtoull() and strtoll(), we arrange for the make variables NO_STRTOUMAX and NO_STRTOULL to cover both the signed and unsigned functions, and define compatibility implementations for them. Signed-off-by: Nick Alcock <nix@esperi.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>