summaryrefslogtreecommitdiff
path: root/ext/DB_File/DB_File.xs
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2000-12-14 15:49:35 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-14 21:26:17 +0000
commit81d8560360dfa58527ff9ab48d37b89d0ed98a44 (patch)
tree900928652ffc98d2361a0a383a255a149b2e7a40 /ext/DB_File/DB_File.xs
parent1e1358003a8162fbcf0115bd68451a8741d0072e (diff)
downloadperl-81d8560360dfa58527ff9ab48d37b89d0ed98a44.tar.gz
[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
Diffstat (limited to 'ext/DB_File/DB_File.xs')
-rw-r--r--ext/DB_File/DB_File.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/DB_File/DB_File.xs b/ext/DB_File/DB_File.xs
index 751ceaae6b..5ba18f395d 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