diff options
author | Andy Wingo <wingo@pobox.com> | 2011-04-03 22:03:56 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-04-03 22:03:56 +0200 |
commit | 90fed973abf1d55212d7a43f8450f5fe76d9e6a2 (patch) | |
tree | f110800d3c7626ce43ebdd62e2bdaff52aad5ac5 /libguile/pthread-threads.h | |
parent | 39bed56f670267f66d99f98cd58978871b789557 (diff) | |
download | guile-90fed973abf1d55212d7a43f8450f5fe76d9e6a2.tar.gz |
pthread-threads.h: only redirect to GC_pthread_sigmask if it is present
* configure.ac: Check for pthread_sigmask.
* libguile/gen-scmconfig.c: Create SCM_HAVE_GC_PTHREAD_SIGMASK.
* libguile/pthread-threads.h (scm_i_pthread_sigmask): Only redirect to
GC_pthread_sigmask if GC_pthread_sigmask is present.
Diffstat (limited to 'libguile/pthread-threads.h')
-rw-r--r-- | libguile/pthread-threads.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libguile/pthread-threads.h b/libguile/pthread-threads.h index b5fff834d..4c67b1857 100644 --- a/libguile/pthread-threads.h +++ b/libguile/pthread-threads.h @@ -57,7 +57,11 @@ /* Signals */ +#if SCM_HAVE_GC_PTHREAD_SIGMASK #define scm_i_pthread_sigmask GC_pthread_sigmask +#else +#define scm_i_pthread_sigmask pthread_sigmask +#endif /* Mutexes */ |