diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-07 01:02:31 +0000 |
---|---|---|
committer | guest <ivmai@mail.ru> | 2011-07-29 10:54:27 +0400 |
commit | 2f26f4be56fa8e39921f7e2ca351919315951860 (patch) | |
tree | 2d2b7c4c1314fe0cf83e77c0640c5c34c6fbc50a /include | |
parent | 62123bbf952913f891bb026148ea0375674dd22b (diff) | |
download | bdwgc-2f26f4be56fa8e39921f7e2ca351919315951860.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/gc_config.h.in | 3 | ||||
-rw-r--r-- | include/gc_ext_config.h.in | 2 | ||||
-rw-r--r-- | include/gc_pthread_redirects.h | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/include/gc_config.h.in b/include/gc_config.h.in index 92f1b2cf..cfaae9dd 100644 --- a/include/gc_config.h.in +++ b/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/include/gc_ext_config.h.in b/include/gc_ext_config.h.in index 52a662dc..716143dc 100644 --- a/include/gc_ext_config.h.in +++ b/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/include/gc_pthread_redirects.h b/include/gc_pthread_redirects.h index 842518cf..f9d4939a 100644 --- a/include/gc_pthread_redirects.h +++ b/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 |