From: Howard Chu Date: Wed, 28 Dec 2016 18:30:19 +0000 (+0000) Subject: ITS#8554 kFreeBSD is like BSD X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e3eaf2ce26bf643d52c4c98b77b9d9bc71ed2c1;p=openldap ITS#8554 kFreeBSD is like BSD Doesn't have POSIX robust mutexes - GNU userland on BSD kernel --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 5ca0e0ae0f..3e7af11886 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -149,7 +149,7 @@ typedef SSIZE_T ssize_t; #include /* defines BYTE_ORDER on HPUX and Solaris */ #endif -#if defined(__APPLE__) || defined (BSD) +#if defined(__APPLE__) || defined (BSD) || defined(__FreeBSD_kernel__) # if !(defined(MDB_USE_POSIX_MUTEX) || defined(MDB_USE_POSIX_SEM)) # define MDB_USE_SYSV_SEM 1 # endif