repo.or.cz
/
git
/
raj.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t5003: check if unzip supports symlinks
[git/raj.git]
/
compat
/
strtoimax.c
blob
ac09ed89e710ee7a489c29857b3cbe0b9d4d0404
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
}