summaryrefslogtreecommitdiff
path: root/boehm-gc/include/gc.h
diff options
context:
space:
mode:
authorPetr Salinger <Petr.Salinger@seznam.cz>2006-09-18 20:45:08 +0200
committerTom Tromey <tromey@gcc.gnu.org>2006-09-18 18:45:08 +0000
commiteb496303d7c7e6f2acb8ab90c22453947988f06b (patch)
tree666cdb5c8b90249ec72621c86394c11ef6b41897 /boehm-gc/include/gc.h
parent94ba45dfe265e2fde473c6bb02484e5608af61ea (diff)
downloadgcc-eb496303d7c7e6f2acb8ab90c22453947988f06b.tar.gz
configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.
2006-06-07 Petr Salinger <Petr.Salinger@seznam.cz> * configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8. * dyn_load.c: Likewise. * include/gc.h: Likewise. * private/gcconfig.h: Likewise. * configure: Regenerate. * include/gc_config.h.in: Regenerate. From-SVN: r117033
Diffstat (limited to 'boehm-gc/include/gc.h')
-rw-r--r--boehm-gc/include/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/gc.h b/boehm-gc/include/gc.h
index 5ba1f4becfe..52ee8056ec4 100644
--- a/boehm-gc/include/gc.h
+++ b/boehm-gc/include/gc.h
@@ -499,7 +499,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb));
# define GC_RETURN_ADDR (GC_word)__return_address
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
# include <features.h>
# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
&& !defined(__ia64__)