Allow DEFAULT_DB_PAGE_SIZE to be defined at build time

This commit is contained in:
Kurt Zeilenga 2000-03-17 20:29:56 +00:00
parent d697f1588c
commit 45f727b8eb
2 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,7 @@ Changes included in OpenLDAP 1.2.10 Release Engineering
Fixed -llber seqorset buffer overrun bug (ITS#479)
Build Environment
Do not list unsupported LDBM API option NDBM
Allow DEFAULT_DB_PAGE_SIZE to be defined at build time
Changes included in OpenLDAP 1.2.9
CVS Tag: OPENLDAP_REL_ENG_1_2_9

View file

@ -32,7 +32,9 @@
# include <db.h>
# ifdef HAVE_BERKELEY_DB2
# define R_NOOVERWRITE DB_NOOVERWRITE
# define DEFAULT_DB_PAGE_SIZE 1024
# ifndef DEFAULT_DB_PAGE_SIZE
# define DEFAULT_DB_PAGE_SIZE 1024
# endif
# endif
#endif
@ -90,7 +92,9 @@ LDAP_END_DECL
# include <db.h>
# ifdef LDBM_USE_DB2
# define R_NOOVERWRITE DB_NOOVERWRITE
# define DEFAULT_DB_PAGE_SIZE 1024
# ifndef DEFAULT_DB_PAGE_SIZE
# define DEFAULT_DB_PAGE_SIZE 1024
# endif
# endif
#endif