ci: fix building examples/concurrency/concurrency.v on macos
parent
58393bd3f9
commit
8f6fec4364
|
@ -7,6 +7,7 @@ import time
|
||||||
|
|
||||||
#flag -lpthread
|
#flag -lpthread
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
|
#include <sys/errno.h>
|
||||||
|
|
||||||
[trusted]
|
[trusted]
|
||||||
fn C.pthread_mutex_init(voidptr, voidptr) int
|
fn C.pthread_mutex_init(voidptr, voidptr) int
|
||||||
|
|
Loading…
Reference in New Issue