]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct typo in #ifdef: PY_THREAD_D4, should be PY_PTHREAD_D4.
authorGuido van Rossum <guido@python.org>
Fri, 4 Sep 1998 13:38:32 +0000 (13:38 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 4 Sep 1998 13:38:32 +0000 (13:38 +0000)
Reported by Jonathan Giddy.

Python/thread_pthread.h

index 64100f4f4fa76360b8ef9502404a49b8442f8dc0..995ef51dc52cb42cd0011b278be13fbd195f7038 100644 (file)
@@ -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);