* src/gdb/target.h: Remove all tests for already defined
[deliverable/binutils-gdb.git] / gdb / amd64-linux-nat.c
index e46bd039781411b2c64b39e4b81f44c35ae5bae9..2a1b690b2d538b980c66c20a19224c51bb1700b1 100644 (file)
@@ -501,6 +501,15 @@ typedef struct compat_siginfo
 #define cpt_si_band _sifields._sigpoll._band
 #define cpt_si_fd _sifields._sigpoll._fd
 
+/* glibc at least up to 2.3.2 doesn't have si_timerid, si_overrun.
+   In their place is si_timer1,si_timer2.  */
+#ifndef si_timerid
+#define si_timerid si_timer1
+#endif
+#ifndef si_overrun
+#define si_overrun si_timer2
+#endif
+
 static void
 compat_siginfo_from_siginfo (compat_siginfo_t *to, siginfo_t *from)
 {
This page took 0.023313 seconds and 4 git commands to generate.