Sign in
googlers
/
jrn
/
git
/
332bcf74eab28b8dd9d93de3358de3e13d1aaba1
/
.
/
compat
/
strtoimax.c
blob: ac09ed89e710ee7a489c29857b3cbe0b9d4d0404 [
file
] [
log
] [
blame
]
#include
"../git-compat-util.h"
intmax_t
gitstrtoimax
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
{
#if defined(NO_STRTOULL)
return
strtol
(
nptr
,
endptr
,
base
);
#else
return
strtoll
(
nptr
,
endptr
,
base
);
#endif
}