summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorpaul <paul>2004-06-21 10:35:59 +0000
committerpaul <paul>2004-06-21 10:35:59 +0000
commit138ce75fd0254072f27ecf38994a90276b276730 (patch)
tree381589b0aa5f3bd18855ed594e4c88811a31262e /lib/zebra.h
parentbeebba75167b33e05b5e02a41179ad0c13a0bcd7 (diff)
2004-06-21 Paul Jakma <paul@dishone.st>
* ChangeLog: fix my last update config.h -> zebra.h ;) * zebra.h: Fix gcc check.
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 7ba01d56..89e07dea 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -230,7 +230,7 @@ typedef int socklen_t;
#define CMSG_LEN(l) (_CMSG_DATA_ALIGN(sizeof(struct cmsghdr)) + (l))
#endif /* CMSG_LEN */
-#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5
+#if !(defined(__GNUC__) || defined(VTYSH_EXTRACT_PL))
#define __attribute__(x)
#endif /* !__GNUC__ */