the MIT DB code is between "#if HAVE_DB1... #endif"

use the same check in the descriptor table

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Gabor Gombas
2009-11-25 05:10:29 -08:00
committed by Love Hornquist Astrand
parent 55db6909fe
commit 75a53f54fc

View File

@@ -66,6 +66,8 @@ const int hdb_interface_version = HDB_INTERFACE_VERSION;
static struct hdb_method methods[] = {
#if HAVE_DB1 || HAVE_DB3
{ HDB_INTERFACE_VERSION, "db:", hdb_db_create},
#endif
#if HAVE_DB1
{ HDB_INTERFACE_VERSION, "mit-db:", hdb_mdb_create},
#endif
#if HAVE_NDBM