]> git.puffer.fish Git - mirror/frr.git/commitdiff
2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Fri, 8 Apr 2005 19:02:04 +0000 (19:02 +0000)
committerajs <ajs>
Fri, 8 Apr 2005 19:02:04 +0000 (19:02 +0000)
* sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined.

lib/ChangeLog
lib/sigevent.c

index a6f3ca494aa9ad9397c9b934bd80c31cabdb57c1..13426eed1c181092289594d10dfdc29ca81fffb4 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+       * sigevent.c: On GNU_LINUX, check whether __USE_GNU is already defined.
+
 2005-04-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
 
        * vty.c: (vty_log_fixed) Use casts to (void *) to try to eliminate
index 9c25d7649b3d8b6c19673e1426e4543e5de2e754..08141afaee176fe64d8754438d1637fe4ee2fac8 100644 (file)
@@ -27,7 +27,9 @@
 #ifdef HAVE_UCONTEXT_H
 #ifdef GNU_LINUX
 /* get REG_EIP from ucontext.h */
+#ifndef __USE_GNU
 #define __USE_GNU
+#endif /* __USE_GNU */
 #endif /* GNU_LINUX */
 #include <ucontext.h>
 #endif /* HAVE_UCONTEXT_H */