=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/gc/include/gc_pthread_redirects.h,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- OpenXM_contrib2/asir2000/gc/include/gc_pthread_redirects.h 2001/04/20 07:59:30 1.1 +++ OpenXM_contrib2/asir2000/gc/include/gc_pthread_redirects.h 2003/06/24 05:11:40 1.4 @@ -44,9 +44,7 @@ #endif /* SOLARIS_THREADS || SOLARIS_PTHREADS */ -#if !defined(GC_USE_LD_WRAP) && \ - (defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) \ - || defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS)) +#if !defined(GC_USE_LD_WRAP) && defined(GC_PTHREADS) && !defined(GC_SOLARIS_PTHREADS) /* We treat these similarly. */ # include # include @@ -54,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 */