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
9964667
..
ba5c4ab
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