From: Johannes Sixt Date: Sat, 5 Nov 2011 15:37:34 +0000 (+0100) Subject: Compatibility: declare strtoimax() under NO_STRTOUMAX X-Git-Tag: v1.7.8.2~23^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=97000ba6e21d25581222e11c36db4bb88c05adcd;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-compat-util.h b/git-compat-util.h index e0bb81ed8..23f760331 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -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