From: Howard Chu Date: Fri, 7 Dec 2001 03:56:16 +0000 (+0000) Subject: Minor fix to allow build with BDB 4 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~729 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff701c286b75f8a5e1549ced4298823adce9c68c;p=openldap Minor fix to allow build with BDB 4 --- diff --git a/libraries/libldbm/ldbm.c b/libraries/libldbm/ldbm.c index e6fdfa6e14..b9aedcf25c 100644 --- a/libraries/libldbm/ldbm.c +++ b/libraries/libldbm/ldbm.c @@ -315,7 +315,7 @@ ldbm_open( DB_ENV *env, char *name, int rw, int mode, int dbcachesize ) return NULL; } -#if DB_VERSION_MINOR < 3 +#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 3 ret->set_malloc( ret, ldbm_malloc ); #endif