Skip to content
Snippets Groups Projects
Commit fcf71ea3 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

clean up LDBM_{,UN}LOCK macros

parent 5f0473d1
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment