summaryrefslogtreecommitdiff
path: root/boehm-gc/os_dep.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-21 09:42:28 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-21 09:42:28 +0000
commitbe484f7ad5bb820beca1e55fd600dd0faeb0eb5b (patch)
tree0db6fb66df94a72e140f488e943d00b416ec4c20 /boehm-gc/os_dep.c
parentf19cece355f38656c69e47e126d2ac345a4e6ca8 (diff)
downloadgcc-be484f7ad5bb820beca1e55fd600dd0faeb0eb5b.tar.gz
* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
sigcontext.h. From Matthias Klose <doko@itso.de>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/os_dep.c')
-rw-r--r--boehm-gc/os_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c
index 5372d7fb0c9..f05e94d14c9 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 */