Code

Fix __attribute__ changes.
authorJunio C Hamano <junkio@cox.net>
Fri, 19 Aug 2005 09:06:52 +0000 (02:06 -0700)
committerJunio 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

diff --git a/cache.h b/cache.h
index 996466795f65a115f2b6375391ff353114610d5e..ba5c4ab7eea18ac4782d5f31a80330f8b487f1b0 100644 (file)
--- a/cache.h
+++ b/cache.h
 #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