projects
/
platform
/
upstream
/
git.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.26.2
[platform/upstream/git.git]
/
compat
/
strtoimax.c
1
#include "../git-compat-util.h"
2
3
intmax_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
}