Skip to content

Commit 1de3f90

Browse files
committed
Disable errors when we try to compile the pthread example with esperanto
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.
1 parent 869b8d4 commit 1de3f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/config/discover.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ struct
417417

418418
int main()
419419
{
420-
pthread_create(0, 0, 0, 0);
420+
pthread_create(1, 1, 1, 1);
421421
return 0;
422422
}
423423
|}

0 commit comments

Comments
 (0)