diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 17:28:12 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 17:28:12 +0400 |
commit | 111a44f98adde07d205c92656ad9b935ca2a39a8 (patch) | |
tree | 8a0cb4e60f636fd09dd0d2e1a3a7f3a4ac0a1bb0 /include/gc_pthread_redirects.h | |
parent | f3632431e72d48bc7772b0752e29bb1e2a0901c6 (diff) | |
download | bdwgc-111a44f98adde07d205c92656ad9b935ca2a39a8.tar.gz |
gc6.2 tarball importgc6_2
Diffstat (limited to 'include/gc_pthread_redirects.h')
-rw-r--r-- | include/gc_pthread_redirects.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gc_pthread_redirects.h b/include/gc_pthread_redirects.h index 47284fbc..99a3e8da 100644 --- a/include/gc_pthread_redirects.h +++ b/include/gc_pthread_redirects.h @@ -52,15 +52,21 @@ int GC_pthread_create(pthread_t *new_thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg); +#ifndef GC_DARWIN_THREADS int GC_pthread_sigmask(int how, const sigset_t *set, sigset_t *oset); +#endif int GC_pthread_join(pthread_t thread, void **retval); int GC_pthread_detach(pthread_t thread); # define pthread_create GC_pthread_create +#ifndef GC_DARWIN_THREADS # define pthread_sigmask GC_pthread_sigmask +#endif # define pthread_join GC_pthread_join # define pthread_detach GC_pthread_detach +#ifndef GC_DARWIN_THREADS # define dlopen GC_dlopen +#endif #endif /* GC_xxxxx_THREADS */ |