fx: fix darwin compilation

This commit is contained in:
2026-05-03 14:51:01 +01:00
parent 90d180d839
commit 55ba15b1fa
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#include <fx/core/bitop.h>
#include <fx/bitop.h>
int fx_popcountl(long v)
{
+2
View File
@@ -1,3 +1,4 @@
#if 0
#include <assert.h>
#include <fx/core/error.h>
#include <fx/core/thread.h>
@@ -59,3 +60,4 @@ bool fx_mutex_unlock(fx_mutex *mut)
{
return pthread_mutex_unlock(mut) == 0;
}
#endif