From: Kurt Zeilenga Date: Sat, 30 Sep 2000 01:04:43 +0000 (+0000) Subject: Fix no_threads build X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1854 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd9e1b772c788dfd4a8989c3bb89030f5aa7a0ef;p=openldap Fix no_threads build --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index 2ef9ff4dd2..eec64e86e2 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -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;