Merge remote-tracking branch 'origin/mdb.master'

This commit is contained in:
Howard Chu 2013-10-18 13:36:47 -07:00
commit afbd74c4de

View 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