diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-02-12 12:27:56 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-02-12 12:28:26 +0300 |
commit | 272e61e4691a9e990fa94a071d739dfbfa836941 (patch) | |
tree | 17d2113246c75ebb5900274528205720e58458bc /include | |
parent | f4e4ee4105c5f4fb6ff6dd5d8f262a740634908c (diff) | |
download | bdwgc-272e61e4691a9e990fa94a071d739dfbfa836941.tar.gz |
Ensure GC_NO_PTHREAD_SIGMASK defined if no GC_pthread_sigmask prototype
(fix of commit 155429702)
* include/gc/gc_pthread_redirects.h [!GC_PTHREAD_REDIRECTS_ONLY
&& !GC_NO_PTHREAD_SIGMASK && !(GC_PTHREAD_SIGMASK_NEEDED || _BSD_SOURCE
|| _GNU_SOURCE || _POSIX_C_SOURCE>=199506L || _XOPEN_SOURCE>=500)]
(GC_NO_PTHREAD_SIGMASK): Define macro.
Diffstat (limited to 'include')
-rw-r--r-- | include/gc/gc_pthread_redirects.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gc/gc_pthread_redirects.h b/include/gc/gc_pthread_redirects.h index 274787eb..c2e448f1 100644 --- a/include/gc/gc_pthread_redirects.h +++ b/include/gc/gc_pthread_redirects.h @@ -61,6 +61,8 @@ || (_POSIX_C_SOURCE >= 199506L) || (_XOPEN_SOURCE >= 500) GC_API int GC_pthread_sigmask(int /* how */, const sigset_t *, sigset_t * /* oset */); +# else +# define GC_NO_PTHREAD_SIGMASK # endif # endif /* !GC_NO_PTHREAD_SIGMASK */ |