aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/linux.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2003-06-18 21:46:29 -0700
committerJim Wilson <wilson@gcc.gnu.org>2003-06-18 21:46:29 -0700
commitf37ceab97f4620a4074fbd8206cbcad633130d89 (patch)
tree16585cec58ac977de48413124309695cea7a2614 /gcc/config/i386/linux.h
parent6e014ef3ce30e4541f542bb7b61b638181990586 (diff)
downloadgcc-f37ceab97f4620a4074fbd8206cbcad633130d89.zip
gcc-f37ceab97f4620a4074fbd8206cbcad633130d89.tar.gz
gcc-f37ceab97f4620a4074fbd8206cbcad633130d89.tar.bz2
re PR bootstrap/4068 ([linux-x86] bootstrapping on glibc2.0 systems)
PR bootstrap/4068 * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0. From-SVN: r68177
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r--gcc/config/i386/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
index df66a58..ae6e8d0 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -234,7 +234,7 @@ Boston, MA 02111-1307, USA. */
signal-turned-exceptions for them. There's also no configure-run for
the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT_H. Using the
target libc1 macro should be enough. */
-#ifndef USE_GNULIBC_1
+#if !(defined (USE_GNULIBC_1) || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0))
#include <signal.h>
#include <sys/ucontext.h>