From: Junio C Hamano Date: Fri, 19 Aug 2005 09:06:52 +0000 (-0700) Subject: Fix __attribute__ changes. X-Git-Tag: v0.99.5~10^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f1d090e13a46d30a14089de0575dbb2fc44a583a?hp=--cc 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 --- f1d090e13a46d30a14089de0575dbb2fc44a583a diff --git a/cache.h b/cache.h index 996466795f..ba5c4ab7ee 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