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