From: Ramkumar Ramachandra Date: Tue, 15 Nov 2011 17:31:09 +0000 (+0530) Subject: git-compat-util: don't assume value for undefined variable X-Git-Tag: v1.7.8-rc4~9^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4ac953b2a1e33fedf210ac59394db480a6ade33;p=git.git git-compat-util: don't assume value for undefined variable Suggested-by: Thomas Rast Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- diff --git a/git-compat-util.h b/git-compat-util.h index 5ef8ff76f..8b4dd5c02 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -219,7 +219,7 @@ extern char *gitbasename(char *); #define find_last_dir_sep(path) strrchr(path, '/') #endif -#if __HP_cc >= 61000 +#if defined(__HP_cc) && (__HP_cc >= 61000) #define NORETURN __attribute__((noreturn)) #define NORETURN_PTR #elif defined(__GNUC__) && !defined(NO_NORETURN)