]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.
authorTom Tromey <tromey@cygnus.com>
Wed, 21 Apr 1999 09:42:28 +0000 (09:42 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 21 Apr 1999 09:42:28 +0000 (09:42 +0000)
* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
sigcontext.h.  From Matthias Klose <doko@itso.de>.

From-SVN: r26574

boehm-gc/ChangeLog
boehm-gc/os_dep.c

index 1866aa0a37b754c96c85cd80b80e00aa4100e7ef..4e7ab99ce3cecbb57fa0201884740c83da74874e 100644 (file)
@@ -1,3 +1,8 @@
+1999-04-21  Tom Tromey  <tromey@cygnus.com>
+
+       * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
+       sigcontext.h.  From Matthias Klose <doko@itso.de>.
+
 1999-04-16  Tom Tromey  <tromey@cygnus.com>
 
        * config.h (__start): Declare as `int' in alpha/OSF1 case.  From
index 5372d7fb0c9d3336dcbd759992ba44de36a04ddc..f05e94d14c91549b3f34ada3932c03b0f8c16db7 100644 (file)
@@ -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 <features.h>
-#     if 2 <= __GLIBC__
+#     if 2 <= __GLIBC__ && 0 == __GLIBC_MINOR__
 #       include <sigcontext.h>
 #     else /* not 2 <= __GLIBC__ */
         /* libc5 doesn't have <sigcontext.h>: go directly with the kernel   */