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

Reported by Jonathan Giddy.
This commit is contained in:
Guido van Rossum 1998-09-04 13:38:32 +00:00
parent 746340d989
commit a74d0e4c55
1 changed files with 1 additions and 1 deletions

View 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);