]>
git.ipfire.org Git - thirdparty/git.git/blob - compat/strtoimax.c
1 #include "../git-compat-util.h"
3 intmax_t gitstrtoimax (const char *nptr
, char **endptr
, int base
)
5 #if defined(NO_STRTOULL)
6 return strtol(nptr
, endptr
, base
);
8 return strtoll(nptr
, endptr
, base
);