aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-07 02:02:31 +0100
committerTom Tromey <tromey@gcc.gnu.org>2006-02-07 01:02:31 +0000
commit5fd231d2c77a4f400a0caf4cced86b253495bc07 (patch)
tree743d9a439c476b1312d603f747bf02782d271c50 /boehm-gc/include
parent003fe0b3e3cc8ade75c07a288084c58d6a1b0b4b (diff)
downloadgcc-5fd231d2c77a4f400a0caf4cced86b253495bc07.zip
gcc-5fd231d2c77a4f400a0caf4cced86b253495bc07.tar.gz
gcc-5fd231d2c77a4f400a0caf4cced86b253495bc07.tar.bz2
gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
2006-02-06 Jakub Jelinek <jakub@redhat.com> Anthony Green <green@redhat.com> Tom Tromey <tromey@redhat.com> * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION. * include/gc_config.h.in: Rebuilt. * include/gc_pthread_redirects.h (pthread_create): Conditionally define. * pthread_support.c (pthread_create_): New global. (constr): New function. (pthread_create): Conditionally renamed. * configure: Rebuilt. * configure.ac (GC_PTHREAD_SYM_VERSION): Define. Co-Authored-By: Anthony Green <green@redhat.com> Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r110682
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/gc_config.h.in3
-rw-r--r--boehm-gc/include/gc_ext_config.h.in2
-rw-r--r--boehm-gc/include/gc_pthread_redirects.h2
3 files changed, 7 insertions, 0 deletions
diff --git a/boehm-gc/include/gc_config.h.in b/boehm-gc/include/gc_config.h.in
index 92f1b2c..cfaae9d 100644
--- a/boehm-gc/include/gc_config.h.in
+++ b/boehm-gc/include/gc_config.h.in
@@ -45,6 +45,9 @@
/* support for Tru64 pthreads */
#undef GC_OSF1_THREADS
+/* symbol version of pthread_create */
+#undef GC_PTHREAD_SYM_VERSION
+
/* support for Solaris pthreads */
#undef GC_SOLARIS_PTHREADS
diff --git a/boehm-gc/include/gc_ext_config.h.in b/boehm-gc/include/gc_ext_config.h.in
index 52a662d..716143d 100644
--- a/boehm-gc/include/gc_ext_config.h.in
+++ b/boehm-gc/include/gc_ext_config.h.in
@@ -3,3 +3,5 @@ external clients that do not want to include the full gc.h. Currently this
is used by libjava/include/boehm-gc.h. */
#undef THREAD_LOCAL_ALLOC
+
+#undef GC_PTHREAD_SYM_VERSION
diff --git a/boehm-gc/include/gc_pthread_redirects.h b/boehm-gc/include/gc_pthread_redirects.h
index 842518c..f9d4939 100644
--- a/boehm-gc/include/gc_pthread_redirects.h
+++ b/boehm-gc/include/gc_pthread_redirects.h
@@ -68,7 +68,9 @@
# undef pthread_detach
#endif
+#ifndef GC_PTHREAD_SYM_VERSION
# define pthread_create GC_pthread_create
+#endif
# define pthread_join GC_pthread_join
# define pthread_detach GC_pthread_detach