diff options
author | paul <paul> | 2004-06-09 10:36:05 +0000 |
---|---|---|
committer | paul <paul> | 2004-06-09 10:36:05 +0000 |
commit | 56bc9fc9515b7e64ab3b4cabd5990e69ea80d229 (patch) | |
tree | b69a30d2fc7948deb8e063ffbde07de5e84b0c63 /lib/zebra.h | |
parent | 35f3c580d88360cbc9df4e15a900b9d443f40ffb (diff) | |
download | quagga-56bc9fc9515b7e64ab3b4cabd5990e69ea80d229.tar.bz2 quagga-56bc9fc9515b7e64ab3b4cabd5990e69ea80d229.tar.xz |
2004-06-09 Paul Jakma <paul@dishone.st>
* config.h: __attribute__ is a gcc'ism
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 30377fdb..ed3024db 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -215,6 +215,10 @@ typedef int socklen_t; #endif /* BSDI_NRL */ +#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5 +#define __attribute__(x) +#endif /* !__GNUC__ */ + /* The definition of struct in_pktinfo is missing in old version of GLIBC 2.1 (Redhat 6.1). */ #if defined (GNU_LINUX) && ! defined (HAVE_INPKTINFO) |