diff options
author | Tom Tromey <tromey@redhat.com> | 2006-02-10 01:58:30 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-02-10 01:58:30 +0000 |
commit | f4002c50cd09dc9e74cfaa72a2c0987a469ecb37 (patch) | |
tree | 12f1b6b29d749bb13a38b1c270dfa13946e6ef12 /boehm-gc | |
parent | bce3befa79116ad32f6128bed404d3881ced47a3 (diff) | |
download | gcc-f4002c50cd09dc9e74cfaa72a2c0987a469ecb37.zip gcc-f4002c50cd09dc9e74cfaa72a2c0987a469ecb37.tar.gz gcc-f4002c50cd09dc9e74cfaa72a2c0987a469ecb37.tar.bz2 |
* pthread_support.c: Conditionally include dlfcn.h.
From-SVN: r110832
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 4 | ||||
-rw-r--r-- | boehm-gc/pthread_support.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 425b015..81bf9f6 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2006-02-09 Tom Tromey <tromey@redhat.com> + + * pthread_support.c: Conditionally include dlfcn.h. + 2006-02-06 Jakub Jelinek <jakub@redhat.com> Anthony Green <green@redhat.com> Tom Tromey <tromey@redhat.com> diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c index 7c7bb05..55872ef 100644 --- a/boehm-gc/pthread_support.c +++ b/boehm-gc/pthread_support.c @@ -47,8 +47,12 @@ /*#define DEBUG_THREADS 1*/ /*#define GC_ASSERTIONS*/ +#include "gc_config.h" + +#ifdef GC_PTHREAD_SYM_VERSION #define _GNU_SOURCE #include <dlfcn.h> +#endif # include "gc.h" # include "private/pthread_support.h" |