mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Do not define _POSIX_THREADS if unistd.h defines it.
Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
This commit is contained in:
parent
c0f1bfec05
commit
69c0ff3836
4 changed files with 336 additions and 289 deletions
|
@ -477,6 +477,9 @@
|
|||
/* Define if you have the pthread_init function. */
|
||||
#undef HAVE_PTHREAD_INIT
|
||||
|
||||
/* Define if you have the pthread_sigmask function. */
|
||||
#undef HAVE_PTHREAD_SIGMASK
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#undef HAVE_PUTENV
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue