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 @@ @@ -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

Loading…
Cancel
Save