]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/mdb.c
ITS#8554 kFreeBSD is like BSD
[openldap] / libraries / liblmdb / mdb.c
index 7a181d45f69226073384d21414735a0392f6360f..23c1f009b01dd75b8d4d6c212d360238f65e19ae 100644 (file)
@@ -120,7 +120,7 @@ typedef SSIZE_T     ssize_t;
 #include <resolv.h>    /* defines BYTE_ORDER on HPUX and Solaris */
 #endif
 
-#if defined(__APPLE__) || defined (BSD)
+#if defined(__APPLE__) || defined (BSD) || defined(__FreeBSD_kernel__)
 # define MDB_USE_POSIX_SEM     1
 # define MDB_FDATASYNC         fsync
 #elif defined(ANDROID)