mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08: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
|
||||
#define strtoumax gitstrtoumax
|
||||
extern uintmax_t gitstrtoumax(const char *, char **, int);
|
||||
#define strtoimax gitstrtoimax
|
||||
extern intmax_t gitstrtoimax(const char *, char **, int);
|
||||
#endif
|
||||
|
||||
#ifdef NO_STRTOK_R
|
||||
|
Loading…
Reference in New Issue
Block a user