fx: fix darwin compilation
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#include <fx/core/bitop.h>
|
#include <fx/bitop.h>
|
||||||
|
|
||||||
int fx_popcountl(long v)
|
int fx_popcountl(long v)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#if 0
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <fx/core/error.h>
|
#include <fx/core/error.h>
|
||||||
#include <fx/core/thread.h>
|
#include <fx/core/thread.h>
|
||||||
@@ -59,3 +60,4 @@ bool fx_mutex_unlock(fx_mutex *mut)
|
|||||||
{
|
{
|
||||||
return pthread_mutex_unlock(mut) == 0;
|
return pthread_mutex_unlock(mut) == 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user