Browse Source

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 <junkio@cox.net>
maint
Junio C Hamano 20 years ago
parent
commit
f1d090e13a
  1. 3
      cache.h

3
cache.h

@ -38,11 +38,10 @@
#define NORETURN __attribute__((__noreturn__)) #define NORETURN __attribute__((__noreturn__))
#else #else
#define NORETURN #define NORETURN
#endif

#ifndef __attribute__ #ifndef __attribute__
#define __attribute__(x) #define __attribute__(x)
#endif #endif
#endif


/* /*
* Intensive research over the course of many years has shown that * Intensive research over the course of many years has shown that

Loading…
Cancel
Save