From bf0c8a0d96684bfdba8cc7d020f7acd8790e6e95 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 2 Dec 2022 23:17:46 +0200 Subject: [PATCH] sync: fix compilation of V on m1 with tcc --- vlib/sync/sync_darwin.c.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlib/sync/sync_darwin.c.v b/vlib/sync/sync_darwin.c.v index dde745f3e6..85ab6425f8 100644 --- a/vlib/sync/sync_darwin.c.v +++ b/vlib/sync/sync_darwin.c.v @@ -33,6 +33,9 @@ fn C.pthread_cond_destroy(voidptr) int [typedef] struct C.pthread_mutex_t {} +[typedef] +struct C.pthread_cond_t {} + [typedef] struct C.pthread_rwlock_t {}