mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix no_threads build
This commit is contained in:
parent
dd733e163a
commit
bd9e1b772c
1 changed files with 2 additions and 0 deletions
|
|
@ -66,7 +66,9 @@ bdb_db_init( BackendDB *be )
|
|||
bdb->bi_dbenv_xflags = 0;
|
||||
bdb->bi_dbenv_mode = DEFAULT_MODE;
|
||||
|
||||
#ifndef NO_THREADS
|
||||
bdb->bi_lock_detect = DB_LOCK_NORUN;
|
||||
#endif
|
||||
|
||||
be->be_private = bdb;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue