Skip to content

Commit 9d21fad

Browse files
Set _USE_PTHREADS for HAVE_PTHREAD_STUBS.
1 parent a29a7b9 commit 9d21fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_pythread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern "C" {
3333
# endif /* _POSIX_THREADS */
3434
#endif /* _POSIX_THREADS */
3535

36-
#if defined(_POSIX_THREADS) && !defined(HAVE_PTHREAD_STUBS)
36+
#if defined(_POSIX_THREADS) || defined(HAVE_PTHREAD_STUBS)
3737
# define _USE_PTHREADS
3838
#endif
3939

0 commit comments

Comments
 (0)