From 16ed726f819dbdc0459cf7cf9a7bd676f4e44f92 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 11 Nov 1997 01:34:08 +0000 Subject: [PATCH] define NDBM git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3900 ec53bebd-3082-4978-b11e-865c3cabbd6b --- acconfig.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/acconfig.h b/acconfig.h index 67c55a358..2ebc10023 100644 --- a/acconfig.h +++ b/acconfig.h @@ -158,6 +158,14 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } /* telnet stuff ----------------------------------------------- */ +/* + * Define NDBM if you are using the 4.3 ndbm library (which is part of + * libc). If not defined, 4.2 dbm will be assumed. + */ +#if defined(HAVE_DBM_FIRSTKEY) +#define NDBM +#endif + /* define this for OTP support */ #undef OTP