fix mac os build

This commit is contained in:
eeeee 2015-01-10 18:38:59 -08:00 committed by def
parent c8405ce13e
commit 073a552b82

View file

@ -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