From dddc7a385ba4951c11e1c8405ccf002b6a75a53d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 14 Oct 2013 09:47:26 -0700 Subject: [PATCH] Fix 01dfb2083dd690707a062cabb03801bfad1a6859 USE_POSIX_SEM must define USE_HASH --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 2ebf1a9eab..e52da918a4 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -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 #ifdef MDB_USE_POSIX_SEM +# define MDB_USE_HASH 1 #include #endif #endif -- 2.39.5