From e2b107dd04c520dad03b27815786408ed8de0fa8 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 28 Jun 1995 00:36:06 +0000 Subject: [PATCH] * configure.in: *int*_t are likely to collide with native types, and the int8_t and *int64_t are never used anyway, so push them off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6174 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/berk_db/hash/ChangeLog | 6 ++++++ src/util/berk_db/hash/configure.in | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/util/berk_db/hash/ChangeLog b/src/util/berk_db/hash/ChangeLog index 23d12cd33..4560a50d1 100644 --- a/src/util/berk_db/hash/ChangeLog +++ b/src/util/berk_db/hash/ChangeLog @@ -1,3 +1,9 @@ +Tue Jun 27 20:50:57 1995 Mark Eichin + + * configure.in: *int*_t are likely to collide with native types, + and the int8_t and *int64_t are never used anyway, so push them + off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also. + Tue Jun 27 15:47:56 EDT 1995 Paul Park (pjpark@mit.edu) * hash.c - Cast 2nd argument to memmove to (char *). diff --git a/src/util/berk_db/hash/configure.in b/src/util/berk_db/hash/configure.in index fe854a4ac..c2885e1ac 100644 --- a/src/util/berk_db/hash/configure.in +++ b/src/util/berk_db/hash/configure.in @@ -6,7 +6,14 @@ AC_PROG_RANLIB AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) - +dnl berzerkely types, to avoid collisions. +AC_CHECK_TYPE(u_int8_t, unsigned char) +AC_CHECK_TYPE(int16_t, short) +AC_CHECK_TYPE(u_int16_t, unsigned short) +AC_CHECK_TYPE(int32_t, int) +AC_CHECK_TYPE(u_int32_t, unsigned int) +AC_CHECK_TYPE(pgno_t, u_int32_t) +dnl dnl Determine the size of datum and DBT size fields. If they are not the same dnl then the elements need to be copied. AC_MSG_CHECKING(size of datum.dsize) -- 2.26.2