]> git.sur5r.net Git - openldap/commitdiff
Suck in BDB4 support from HEAD
authorKurt Zeilenga <kurt@openldap.org>
Fri, 7 Dec 2001 17:14:54 +0000 (17:14 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 7 Dec 2001 17:14:54 +0000 (17:14 +0000)
libraries/libldbm/ldbm.c

index e6fdfa6e1439e4f1c5f04efc3666c68132598df4..b9aedcf25cb0d7225c0c2a1870ee3f0c91601a0f 100644 (file)
@@ -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