Commit a74d0e4c authored by Guido van Rossum's avatar Guido van Rossum

Correct typo in #ifdef: PY_THREAD_D4, should be PY_PTHREAD_D4.

Reported by Jonathan Giddy.
parent 746340d9
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment