[Python-checkins] r58425 - python/trunk/Modules/_bsddb.c
neal.norwitz
python-checkins at python.org
Fri Oct 12 05:52:35 CEST 2007
Author: neal.norwitz
Date: Fri Oct 12 05:52:34 2007
New Revision: 58425
Modified:
python/trunk/Modules/_bsddb.c
Log:
Get this module to compile with bsddb versions prior to 4.3
Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c (original)
+++ python/trunk/Modules/_bsddb.c Fri Oct 12 05:52:34 2007
@@ -5903,7 +5903,9 @@
bsddb_api.dbenv_type = &DBEnv_Type;
bsddb_api.dbtxn_type = &DBTxn_Type;
bsddb_api.dblock_type = &DBLock_Type;
+#if (DBVER >= 43)
bsddb_api.dbsequence_type = &DBSequence_Type;
+#endif
bsddb_api.makeDBError = makeDBError;
py_api = PyCObject_FromVoidPtr((void*)&bsddb_api, NULL);
More information about the Python-checkins
mailing list