diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-10-15 14:34:42 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-10-15 14:34:42 (GMT) |
commit | 69c0ff38362dff3b0a90828b8d787dfb3eb14bc3 (patch) | |
tree | 8c6c2ac66e4a56cf8eba06ea42a417246b520e59 /Python | |
parent | c0f1bfec05fcbd44390156f07008dc90f25ef487 (diff) | |
download | cpython-69c0ff38362dff3b0a90828b8d787dfb3eb14bc3.zip cpython-69c0ff38362dff3b0a90828b8d787dfb3eb14bc3.tar.gz cpython-69c0ff38362dff3b0a90828b8d787dfb3eb14bc3.tar.bz2 |
Do not define _POSIX_THREADS if unistd.h defines it.
Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/thread_pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 2592d39..7170c8a 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -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 |