From: tromey Date: Wed, 21 Apr 1999 09:42:28 +0000 (+0000) Subject: * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a300cf2b5c99d0c45ce90d932aa2877d1f1a5bd6;p=gc * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h. From Matthias Klose . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26574 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/ChangeLog b/ChangeLog index 1866aa0a..4e7ab99c 100644 --- a/ChangeLog +++ b/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/os_dep.c b/os_dep.c index 5372d7fb..f05e94d1 100644 --- a/os_dep.c +++ b/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 */