1b593e1ea4
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
10 lines
214 B
C
10 lines
214 B
C
#include "../git-compat-util.h"
|
|
|
|
intmax_t gitstrtoimax (const char *nptr, char **endptr, int base)
|
|
{
|
|
#if defined(NO_STRTOULL)
|
|
return strtol(nptr, endptr, base);
|
|
#else
|
|
return strtoll(nptr, endptr, base);
|
|
#endif
|
|
}
|