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.verplant.org/?a=commitdiff_plain;h=f1d090e13a46d30a14089de0575dbb2fc44a583a;p=git.git 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 --- diff --git a/cache.h b/cache.h index 99646679..ba5c4ab7 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