X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2Finclude%2Fgc_pthread_redirects.h;h=8925c852e7ac726f2e36c77ca3ba2a23f2fec12a;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hp=b567f63e14f0efd1b6a140162df4e694369ce976;hpb=10ed66b9005e551f0d9af18b858a9259a3057e4c;p=cacao.git diff --git a/src/mm/boehm-gc/include/gc_pthread_redirects.h b/src/mm/boehm-gc/include/gc_pthread_redirects.h index b567f63e1..8925c852e 100644 --- a/src/mm/boehm-gc/include/gc_pthread_redirects.h +++ b/src/mm/boehm-gc/include/gc_pthread_redirects.h @@ -18,11 +18,16 @@ # include # include +# ifndef GC_DARWIN_THREADS +# include +# endif + 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); + int GC_pthread_sigmask(int how, const sigset_t *set, sigset_t *oset); + void *GC_dlopen(const char *path, int mode); #endif int GC_pthread_join(pthread_t thread, void **retval); int GC_pthread_detach(pthread_t thread); @@ -46,9 +51,12 @@ # undef pthread_sigmask # endif /* pthread_sigmask */ # define pthread_sigmask GC_pthread_sigmask +# ifdef dlopen +# undef dlopen +# endif # define dlopen GC_dlopen #endif -#endif /* GC_xxxxx_THREADS */ +#endif /* GC_PTHREADS && !GC_USE_LD_WRAP */ #endif /* GC_PTHREAD_REDIRECTS_H */