repo.or.cz
/
git
/
gitweb-caching.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
refspec: allow colon-less wildcard "refs/category/*"
[git/gitweb-caching.git]
/
compat
/
strtoumax.c
blob
5541353a77a22d48ccebd20ede2f510ae20d1492
1
#include
"../git-compat-util.h"
2
3
uintmax_t
gitstrtoumax
(
const char
*
nptr
,
char
**
endptr
,
int
base
)
4
{
5
#if defined(NO_STRTOULL)
6
return
strtoul
(
nptr
,
endptr
,
base
);
7
#else
8
return
strtoull
(
nptr
,
endptr
,
base
);
9
#endif
10
}