aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-04-21 09:42:28 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-04-21 09:42:28 +0000
commit11bbe619e3cde61713677fa72d78bae973eb0c0f (patch)
tree0db6fb66df94a72e140f488e943d00b416ec4c20 /boehm-gc
parent4cd4ea91015418e2ea14b5cb2f4351024a7ef91c (diff)
downloadgcc-11bbe619e3cde61713677fa72d78bae973eb0c0f.zip
gcc-11bbe619e3cde61713677fa72d78bae973eb0c0f.tar.gz
gcc-11bbe619e3cde61713677fa72d78bae973eb0c0f.tar.bz2
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 <doko@itso.de>. From-SVN: r26574
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog5
-rw-r--r--boehm-gc/os_dep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 1866aa0..4e7ab99 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -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
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c
index 5372d7f..f05e94d 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 <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 */