]> git.sur5r.net Git - openldap/commitdiff
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
authorQuanah Gibson-Mount <quanah@openldap.org>
Fri, 18 Oct 2013 20:38:24 +0000 (13:38 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 18 Oct 2013 20:38:24 +0000 (13:38 -0700)
libraries/liblmdb/mdb.c

index 2ebf1a9eabb7d47bd828803c967975d3b900b5dc..e52da918a43c563c1395d6fdef7ae7f4efde2ea4 100644 (file)
@@ -67,7 +67,6 @@
 
 #if defined(__APPLE__) || defined (BSD)
 # define MDB_USE_POSIX_SEM     1
-# define MDB_USE_HASH          1
 # define MDB_FDATASYNC         fsync
 #elif defined(ANDROID)
 # define MDB_FDATASYNC         fsync
@@ -76,6 +75,7 @@
 #ifndef _WIN32
 #include <pthread.h>
 #ifdef MDB_USE_POSIX_SEM
+# define MDB_USE_HASH          1
 #include <semaphore.h>
 #endif
 #endif