t9129-git-svn-i18n-commitencoding: Make compare_svn_head_with() compatible with OSX sed
[git/gitweb.git] / compat / strtoumax.c
blob5541353a77a22d48ccebd20ede2f510ae20d1492
1 #include "../git-compat-util.h"
3 uintmax_t gitstrtoumax (const char *nptr, char **endptr, int base)
5 #if defined(NO_STRTOULL)
6 return strtoul(nptr, endptr, base);
7 #else
8 return strtoull(nptr, endptr, base);
9 #endif