Sign in
googlers
/
jrn
/
git
/
8882ee9d682b295295463b33c9c3c5633465ba1a
/
.
/
compat
/
strtoumax.c
blob: 5541353a77a22d48ccebd20ede2f510ae20d1492 [
file
] [
log
] [
blame
]
#include
"../git-compat-util.h"
uintmax_t
gitstrtoumax
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
{
#if defined(NO_STRTOULL)
return
strtoul
(
nptr
,
endptr
,
base
);
#else
return
strtoull
(
nptr
,
endptr
,
base
);
#endif
}