summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pythread.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-09 17:17:54 (GMT)
committerGitHub <noreply@github.com>2022-12-09 17:17:54 (GMT)
commit8d0bd93ae28299f9b2cd11d3dd1a49599b62430a (patch)
tree571463aae460cf124bb43b1e1471c509b4701d85 /Include/internal/pycore_pythread.h
parent8c215466dbcdfbdedf0faba7c8ae64461069042b (diff)
downloadcpython-8d0bd93ae28299f9b2cd11d3dd1a49599b62430a.zip
cpython-8d0bd93ae28299f9b2cd11d3dd1a49599b62430a.tar.gz
cpython-8d0bd93ae28299f9b2cd11d3dd1a49599b62430a.tar.bz2
gh-81057: Fix the wasm32-wasi Buildbot (gh-100139)
The build was broken by gh-100084. https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Include/internal/pycore_pythread.h')
-rw-r--r--Include/internal/pycore_pythread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pythread.h b/Include/internal/pycore_pythread.h
index 4aeb285..f539214 100644
--- a/Include/internal/pycore_pythread.h
+++ b/Include/internal/pycore_pythread.h
@@ -33,7 +33,7 @@ extern "C" {
# endif /* _POSIX_THREADS */
#endif /* _POSIX_THREADS */
-#if defined(_POSIX_THREADS) && !defined(HAVE_PTHREAD_STUBS)
+#if defined(_POSIX_THREADS) || defined(HAVE_PTHREAD_STUBS)
# define _USE_PTHREADS
#endif