mirror of
https://github.com/git/git
synced 2024-10-04 23:59:27 +00:00
Compatibility: declare strtoimax() under NO_STRTOUMAX
The previous one introduced an implementation of the function, but forgot to add a declaration. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e3eed7f8d2
commit
97000ba6e2
|
@ -345,6 +345,8 @@ extern size_t gitstrlcpy(char *, const char *, size_t);
|
||||||
#ifdef NO_STRTOUMAX
|
#ifdef NO_STRTOUMAX
|
||||||
#define strtoumax gitstrtoumax
|
#define strtoumax gitstrtoumax
|
||||||
extern uintmax_t gitstrtoumax(const char *, char **, int);
|
extern uintmax_t gitstrtoumax(const char *, char **, int);
|
||||||
|
#define strtoimax gitstrtoimax
|
||||||
|
extern intmax_t gitstrtoimax(const char *, char **, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NO_STRTOK_R
|
#ifdef NO_STRTOK_R
|
||||||
|
|
Loading…
Reference in a new issue