diff options
Diffstat (limited to 'Python/thread_pthread.h')
-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 8645c0f..d18d2de 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -133,7 +133,7 @@ PyThread_start_new_thread(void (*func)(void *), void *arg) #ifdef THREAD_STACK_SIZE pthread_attr_setstacksize(&attrs, THREAD_STACK_SIZE); #endif -#ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED +#if defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) && !defined(__FreeBSD__) pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); #endif |