Commit d85fe32d authored by Kris Zyp's avatar Kris Zyp Committed by Howard Chu
Browse files

ITS#9372 Default to using POSIX semaphores on MacOS

Unless robust is specified (then use SysV)
parent 576ccd10
......@@ -164,6 +164,8 @@ typedef SSIZE_T ssize_t;
#if defined(__FreeBSD__) && defined(__FreeBSD_version) && __FreeBSD_version >= 1100110
# define MDB_USE_POSIX_MUTEX 1
# define MDB_USE_ROBUST 1
#elif defined(__APPLE__) && !defined(MDB_USE_ROBUST)
# define MDB_USE_POSIX_SEM 1
#elif defined(__APPLE__) || defined (BSD) || defined(__FreeBSD_kernel__)
# if !(defined(MDB_USE_POSIX_MUTEX) || defined(MDB_USE_POSIX_SEM))
# define MDB_USE_SYSV_SEM 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment