]> git.puffer.fish Git - mirror/frr.git/commitdiff
2004-06-09 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Wed, 9 Jun 2004 10:36:05 +0000 (10:36 +0000)
committerpaul <paul>
Wed, 9 Jun 2004 10:36:05 +0000 (10:36 +0000)
* config.h: __attribute__ is a gcc'ism

lib/ChangeLog
lib/zebra.h

index 05cf29300c2f1e3497aabcbf84ff1f727bd7c361..3573ac1224cf5077cc3930bd5cca22eed0564223 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-09 Paul Jakma <paul@dishone.st>
+
+       * config.h: __attribute__ is a gcc'ism
+       
 2004-06-04 Paul Jakma <paul@dishone.st>
 
         * type mismatch fixes
index 30377fdb1943783213fb1fa62fbd617d9825b4d9..ed3024db84983e48f4c14e5ce7e81c7197e14d4b 100644 (file)
@@ -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)