From e4ac953b2a1e33fedf210ac59394db480a6ade33 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Tue, 15 Nov 2011 23:01:09 +0530 Subject: [PATCH] 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 --- git-compat-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2