projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ea691
)
Fix __attribute__ changes.
author
Junio C Hamano
<junkio@cox.net>
Fri, 19 Aug 2005 09:06:52 +0000
(
02:06
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 19 Aug 2005 09:06:52 +0000
(
02:06
-0700)
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>
cache.h
patch
|
blob
|
history
diff --git
a/cache.h
b/cache.h
index 996466795f65a115f2b6375391ff353114610d5e..ba5c4ab7eea18ac4782d5f31a80330f8b487f1b0 100644
(file)
--- 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