1b593e1ea4
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
10 lines
217 B
C
10 lines
217 B
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
|
|
}
|