summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e12e78)
raw | patch | inline | side by side (parent: 5e12e78)
author | Ramkumar Ramachandra <artagnon@gmail.com> | |
Tue, 15 Nov 2011 17:31:09 +0000 (23:01 +0530) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Nov 2011 00:09:34 +0000 (16:09 -0800) |
Suggested-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h | patch | blob | history |
diff --git a/git-compat-util.h b/git-compat-util.h
index 5ef8ff76f6fd262c3109d25d706ebd3db35c73fa..8b4dd5c022a160de5c68d83b6237799c23e6ae0a 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#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)