Code

Add strtoimax() compatibility function.
authorNick Alcock <nix@esperi.org.uk>
Wed, 2 Nov 2011 15:46:22 +0000 (15:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Nov 2011 20:06:30 +0000 (13:06 -0700)
commite3eed7f8d238e895922851315447f5df9c475f11
tree23a236f94d6d13c52fc022530702db0696463d2f
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0
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>
Makefile
compat/strtoimax.c [new file with mode: 0644]