]> git.ipfire.org Git - thirdparty/git.git/blame - compat/strtoimax.c
Merge branch 'js/update-index-ignore-removal-for-skip-worktree'
[thirdparty/git.git] / compat / strtoimax.c
CommitLineData
e3eed7f8
NA
1#include "../git-compat-util.h"
2
3intmax_t gitstrtoimax (const char *nptr, char **endptr, int base)
4{
5#if defined(NO_STRTOULL)
6 return strtol(nptr, endptr, base);
7#else
8 return strtoll(nptr, endptr, base);
9#endif
10}