X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=8b4dd5c022a160de5c68d83b6237799c23e6ae0a;hb=02f7914734eb8360cf314d887931c5d5ad0d8046;hp=5ef8ff76f6fd262c3109d25d706ebd3db35c73fa;hpb=5127a074b50959d30f1b43ec7f57e22991268c51;p=git.git 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)