summaryrefslogtreecommitdiffstats
path: root/Python/thread_pthread.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-09-04 13:38:32 (GMT)
committerGuido van Rossum <guido@python.org>1998-09-04 13:38:32 (GMT)
commita74d0e4c55ded033de0bf14bb4c6c56bfff5f5ac (patch)
tree83f226c05a5897e12b4e702a67ccdb3a07f04996 /Python/thread_pthread.h
parent746340d989f02af9c8d75545c7068b5db9894826 (diff)
downloadcpython-a74d0e4c55ded033de0bf14bb4c6c56bfff5f5ac.zip
cpython-a74d0e4c55ded033de0bf14bb4c6c56bfff5f5ac.tar.gz
cpython-a74d0e4c55ded033de0bf14bb4c6c56bfff5f5ac.tar.bz2
Correct typo in #ifdef: PY_THREAD_D4, should be PY_PTHREAD_D4.
Reported by Jonathan Giddy.
Diffstat (limited to 'Python/thread_pthread.h')
-rw-r--r--Python/thread_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 64100f4..995ef51 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -156,7 +156,7 @@ int start_new_thread _P2(func, void (*func) _P((void *)), arg, void *arg)
);
if (success >= 0) {
-#if defined(PY_THREAD_D4) || defined(PY_PTHREAD_D6) || defined(PY_PTHREAD_D7)
+#if defined(PY_PTHREAD_D4) || defined(PY_PTHREAD_D6) || defined(PY_PTHREAD_D7)
pthread_detach(&th);
#elif defined(PY_PTHREAD_STD)
pthread_detach(th);