From ff701c286b75f8a5e1549ced4298823adce9c68c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 7 Dec 2001 03:56:16 +0000 Subject: [PATCH] Minor fix to allow build with BDB 4 --- libraries/libldbm/ldbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5