]> granicus.if.org Git - gc/commitdiff
* pthread_support.c: Conditionally include dlfcn.h.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2006 01:58:30 +0000 (01:58 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:27 +0000 (10:54 +0400)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110832 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
pthread_support.c

index 425b015952a276edc129c20f3f140a04d9229663..81bf9f6112f1b8775e1091726c687f5aac0818d9 100644 (file)
--- a/ChangeLog
+++ b/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>
index 7c7bb0519b27f612152b1f728e7990558c788372..55872ef65c888eae73d79749d53dfa1730434116 100644 (file)
 /*#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"