From: Tom Tromey Date: Wed, 21 Apr 1999 09:42:28 +0000 (+0000) Subject: os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h. X-Git-Tag: prereleases/gcc-2.95-test~825 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bbe619e3cde61713677fa72d78bae973eb0c0f;p=thirdparty%2Fgcc.git os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h. * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h. From Matthias Klose . From-SVN: r26574 --- diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 1866aa0a37b7..4e7ab99ce3ce 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,8 @@ +1999-04-21 Tom Tromey + + * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not + sigcontext.h. From Matthias Klose . + 1999-04-16 Tom Tromey * config.h (__start): Declare as `int' in alpha/OSF1 case. From diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c index 5372d7fb0c9d..f05e94d14c91 100644 --- a/boehm-gc/os_dep.c +++ b/boehm-gc/os_dep.c @@ -30,7 +30,7 @@ /* prototypes, so we have to include the top-level sigcontext.h to */ /* make sure the former gets defined to be the latter if appropriate. */ # include -# if 2 <= __GLIBC__ +# if 2 <= __GLIBC__ && 0 == __GLIBC_MINOR__ # include # else /* not 2 <= __GLIBC__ */ /* libc5 doesn't have : go directly with the kernel */