projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e93b42
)
(__attribute__): Protect against redefinition.
author
Jim Meyering
<jim@meyering.net>
Tue, 28 Sep 1999 15:26:45 +0000
(15:26 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 28 Sep 1999 15:26:45 +0000
(15:26 +0000)
lib/xalloc.h
patch
|
blob
|
history
diff --git
a/lib/xalloc.h
b/lib/xalloc.h
index f75c3cdd7848d913af95966392ccce355f1f8435..38ae1d07d3d0ba10be1c1fd61b3567390f27c2ee 100644
(file)
--- a/
lib/xalloc.h
+++ b/
lib/xalloc.h
@@
-26,8
+26,10
@@
# endif
# endif
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
-# define __attribute__(x)
+# ifndef __attribute__
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+# define __attribute__(x)
+# endif
# endif
# ifndef ATTRIBUTE_NORETURN