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:
Martin v. Löwis 2001-10-15 14:34:42 +00:00
parent c0f1bfec05
commit 69c0ff3836
4 changed files with 336 additions and 289 deletions

View file

@ -75,7 +75,7 @@
* other UNIX International compliant systems that don't have the full
* pthread implementation.
*/
#ifdef PY_PTHREAD_STD
#ifdef HAVE_PTHREAD_SIGMASK
# define SET_THREAD_SIGMASK pthread_sigmask
#else
# define SET_THREAD_SIGMASK sigprocmask