summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-19 09:06:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-19 09:06:52 (GMT)
commitf1d090e13a46d30a14089de0575dbb2fc44a583a (patch)
tree624b91fdb3cc5dd958359a46fd3630ab753af478
parent75ea6911d64bbe1b202eed61eda3ebaa4d76cb99 (diff)
downloadgit-f1d090e13a46d30a14089de0575dbb2fc44a583a.zip
git-f1d090e13a46d30a14089de0575dbb2fc44a583a.tar.gz
git-f1d090e13a46d30a14089de0575dbb2fc44a583a.tar.bz2
Fix __attribute__ changes.
It cannot be checked with #ifndef, if you really think about what it does which cannot be done only with the preprocessor. My thinko. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 9964667..ba5c4ab 100644
--- a/cache.h
+++ b/cache.h
@@ -38,11 +38,10 @@
#define NORETURN __attribute__((__noreturn__))
#else
#define NORETURN
-#endif
-
#ifndef __attribute__
#define __attribute__(x)
#endif
+#endif
/*
* Intensive research over the course of many years has shown that