From 55ba15b1fa4d38043d26fc813b81f40334074f50 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 3 May 2026 14:51:01 +0100 Subject: [PATCH] fx: fix darwin compilation --- fx/sys/darwin/bitop.c | 2 +- fx/sys/darwin/thread.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fx/sys/darwin/bitop.c b/fx/sys/darwin/bitop.c index 3653953..98ba2e7 100644 --- a/fx/sys/darwin/bitop.c +++ b/fx/sys/darwin/bitop.c @@ -1,4 +1,4 @@ -#include +#include int fx_popcountl(long v) { diff --git a/fx/sys/darwin/thread.c b/fx/sys/darwin/thread.c index e0fc3ea..0e0ae1b 100644 --- a/fx/sys/darwin/thread.c +++ b/fx/sys/darwin/thread.c @@ -1,3 +1,4 @@ +#if 0 #include #include #include @@ -59,3 +60,4 @@ bool fx_mutex_unlock(fx_mutex *mut) { return pthread_mutex_unlock(mut) == 0; } +#endif