f9e1b3e8eb
Robust mutexes were already enabled but r478269 disabled POSIX semaphores. It appears both are only mutually exclusive on Android and old GNU libc. PR: 230564 Reported by: Volodymyr Kostyrko Pointy hat to: jbeich
12 lines
302 B
C
12 lines
302 B
C
--- mdb.c.orig 2017-06-01 16:51:10 UTC
|
|
+++ mdb.c
|
|
@@ -125,6 +125,8 @@ typedef SSIZE_T ssize_t;
|
|
# define MDB_FDATASYNC fsync
|
|
#elif defined(ANDROID)
|
|
# define MDB_FDATASYNC fsync
|
|
+#elif defined(__FreeBSD_version) && __FreeBSD_version < 1101000
|
|
+# define MDB_FDATASYNC fsync
|
|
#endif
|
|
|
|
#ifndef _WIN32
|