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