mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
clean up LDBM_{,UN}LOCK macros
This commit is contained in:
parent
5f0473d127
commit
fcf71ea34f
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ ldbm_datum_dup( LDBM ldbm, Datum data )
|
|||
static int ldbm_initialized = 0;
|
||||
|
||||
#ifdef HAVE_BERKELEY_DB_THREAD
|
||||
#define LDBM_LOCK (void) 0;
|
||||
#define LDBM_UNLOCK (void) 0;
|
||||
#define LDBM_LOCK ((void) 0)
|
||||
#define LDBM_UNLOCK ((void) 0)
|
||||
#else
|
||||
static ldap_pvt_thread_mutex_t ldbm_big_mutex;
|
||||
#define LDBM_LOCK (ldap_pvt_thread_mutex_lock(&ldbm_big_mutex))
|
||||
|
|
|
|||
Loading…
Reference in a new issue