Skip to content
Permalink
Browse files
gh-81057: Fix the wasm32-wasi Buildbot (gh-100139)
The build was broken by gh-100084.

#81057
  • Loading branch information
ericsnowcurrently committed Dec 9, 2022
1 parent 8c21546 commit 8d0bd93ae28299f9b2cd11d3dd1a49599b62430a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -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

@@ -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

0 comments on commit 8d0bd93

Please sign in to comment.