From 8d0bd93ae28299f9b2cd11d3dd1a49599b62430a Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Fri, 9 Dec 2022 10:17:54 -0700 Subject: gh-81057: Fix the wasm32-wasi Buildbot (gh-100139) The build was broken by gh-100084. https://github.com/python/cpython/issues/81057 --- Python/thread_pthread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Python/thread_pthread.h') diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index ae312e987b..76d6f3bcdf 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -132,7 +132,8 @@ init_condattr(void) if (pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) == 0) { condattr_monotonic = &ca; // Use monotonic clock } -#endif +# undef ca +#endif // CONDATTR_MONOTONIC } int -- cgit v1.2.1