From 138ce75fd0254072f27ecf38994a90276b276730 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 21 Jun 2004 10:35:59 +0000 Subject: 2004-06-21 Paul Jakma * ChangeLog: fix my last update config.h -> zebra.h ;) * zebra.h: Fix gcc check. --- lib/ChangeLog | 7 ++++++- lib/zebra.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index ab390734..89ade1ef 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2004-06-21 Paul Jakma + + * ChangeLog: fix my last update config.h -> zebra.h ;) + * zebra.h: Fix gcc check. + 2004-06-11 Sowmini Varadhan * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast @@ -18,7 +23,7 @@ 2004-06-09 Paul Jakma - * config.h: __attribute__ is a gcc'ism + * zebra.h: __attribute__ is a gcc'ism 2004-06-04 Paul Jakma 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__ */ -- cgit v1.2.1