mirror of git://gcc.gnu.org/git/gcc.git
* pthread_support.c: Conditionally include dlfcn.h.
From-SVN: r110832
This commit is contained in:
parent
bce3befa79
commit
f4002c50cd
|
@ -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>
|
2006-02-06 Jakub Jelinek <jakub@redhat.com>
|
||||||
Anthony Green <green@redhat.com>
|
Anthony Green <green@redhat.com>
|
||||||
Tom Tromey <tromey@redhat.com>
|
Tom Tromey <tromey@redhat.com>
|
||||||
|
|
|
@ -47,8 +47,12 @@
|
||||||
/*#define DEBUG_THREADS 1*/
|
/*#define DEBUG_THREADS 1*/
|
||||||
/*#define GC_ASSERTIONS*/
|
/*#define GC_ASSERTIONS*/
|
||||||
|
|
||||||
|
#include "gc_config.h"
|
||||||
|
|
||||||
|
#ifdef GC_PTHREAD_SYM_VERSION
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
# include "gc.h"
|
# include "gc.h"
|
||||||
# include "private/pthread_support.h"
|
# include "private/pthread_support.h"
|
||||||
|
|
Loading…
Reference in New Issue