Skip to content

Commit

Permalink
remove -D_WASI_EMULATED_PTHREAD since it breaks llvm even we enable p…
Browse files Browse the repository at this point in the history
…osix threads
  • Loading branch information
trcrsired committed Oct 29, 2024
1 parent 45b8471 commit bc5755d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc-top-half/musl/include/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int pthread_detach(pthread_t);
_Noreturn void pthread_exit(void *);
int pthread_join(pthread_t, void **);
#else
#if defined(_WASI_EMULATED_PTHREAD) || defined(_REENTRANT)
#if defined(_REENTRANT)
int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict);
int pthread_detach(pthread_t);
int pthread_join(pthread_t, void **);
Expand Down

0 comments on commit bc5755d

Please sign in to comment.