mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
parent
ab9b08f8af
commit
dddc7a385b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,6 @@
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined (BSD)
|
#if defined(__APPLE__) || defined (BSD)
|
||||||
# define MDB_USE_POSIX_SEM 1
|
# define MDB_USE_POSIX_SEM 1
|
||||||
# define MDB_USE_HASH 1
|
|
||||||
# define MDB_FDATASYNC fsync
|
# define MDB_FDATASYNC fsync
|
||||||
#elif defined(ANDROID)
|
#elif defined(ANDROID)
|
||||||
# define MDB_FDATASYNC fsync
|
# define MDB_FDATASYNC fsync
|
||||||
|
|
@ -76,6 +75,7 @@
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#ifdef MDB_USE_POSIX_SEM
|
#ifdef MDB_USE_POSIX_SEM
|
||||||
|
# define MDB_USE_HASH 1
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue