Revision be08dee9738eaaa0423885ed189c2b6ad8368cf0 authored by Junio C Hamano on 28 September 2015, 20:18:01 UTC, committed by Junio C Hamano on 28 September 2015, 20:18:19 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8d530c4
Raw File
strtoumax.c
#include "../git-compat-util.h"

uintmax_t gitstrtoumax (const char *nptr, char **endptr, int base)
{
#if defined(NO_STRTOULL)
	return strtoul(nptr, endptr, base);
#else
	return strtoull(nptr, endptr, base);
#endif
}
back to top