mirror of https://github.com/python/cpython
gh-81057: Fix the wasm32-wasi Buildbot (gh-100139)
The build was broken by gh-100084. https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
8c215466db
commit
8d0bd93ae2
|
@ -33,7 +33,7 @@ extern "C" {
|
||||||
# endif /* _POSIX_THREADS */
|
# endif /* _POSIX_THREADS */
|
||||||
#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
|
# define _USE_PTHREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,8 @@ init_condattr(void)
|
||||||
if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
|
if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) {
|
||||||
condattr_monotonic = &ca; // Use monotonic clock
|
condattr_monotonic = &ca; // Use monotonic clock
|
||||||
}
|
}
|
||||||
#endif
|
# undef ca
|
||||||
|
#endif // CONDATTR_MONOTONIC
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue