From: H.Merijn Brand Date: Thu, 14 Dec 2000 14:49:35 +0000 (+0100) Subject: [8104] DB_File X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=81d8560360dfa58527ff9ab48d37b89d0ed98a44;p=p5sagit%2Fp5-mst-13.2.git [8104] DB_File Message-Id: <20001214144439.B33A.H.M.BRAND@hccnet.nl> Type definition incorrect for DB 2.7.7. Not known when it changed, so only changed it for a known revision. p4raw-id: //depot/perl@8108 --- diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs index 751ceaa..5ba18f3 100644 --- a/ext/DB_File/DB_File.xs +++ b/ext/DB_File/DB_File.xs @@ -592,7 +592,7 @@ const DBT * key2 ; } -#ifdef BERKELEY_DB_1_OR_2 +#if defined(BERKELEY_DB_1_OR_2) && !(DB_VERSION_MINOR == 7 && DB_VERSION_PATCH >= 7) # define HASH_CB_SIZE_TYPE size_t #else # define HASH_CB_SIZE_TYPE u_int32_t