Skip to content

Commit

Permalink
Disable errors when we try to compile the pthread example with esperanto
Browse files Browse the repository at this point in the history
Currently, the Cosmopolitan/Esperanto toolchain protects the usage of
pthread and we are not able to pass to it 0. This patch allows us to
compile (and recognize the support of pthread) the code with the
esperanto toolchain.
  • Loading branch information
dinosaure committed Jun 5, 2023
1 parent 869b8d4 commit 1de3f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ struct

int main()
{
pthread_create(0, 0, 0, 0);
pthread_create(1, 1, 1, 1);
return 0;
}
|}
Expand Down

0 comments on commit 1de3f90

Please sign in to comment.