https://github.com/git/git
Raw File
Tip revision: 2c04f6340579518c55a554fcac9fe21c01b3d3ea authored by Junio C Hamano on 05 June 2017, 00:05:38 UTC
Git 2.13.1
Tip revision: 2c04f63
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