mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fix mac os build
This commit is contained in:
parent
c8405ce13e
commit
073a552b82
|
@ -29,6 +29,12 @@
|
|||
#include <dirent.h>
|
||||
|
||||
#if defined(CONF_PLATFORM_MACOSX)
|
||||
// some lock and pthread functions are already defined in headers
|
||||
// included from Carbon.h
|
||||
// this prevents having duplicate definitions of those
|
||||
#define _lock_set_user_
|
||||
#define _task_user_
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue