commit | f3ca169bb4a95defc032a3675c497c64f2a7236a | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 12 03:52:34 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Oct 12 03:52:34 2007 +0000 |
tree | 534eb2bea662c4c7ec9024958533a7e47a11cf71 | |
parent | 15f26617587cbe53b22c599239767ef95341472f [diff] |
Get this module to compile with bsddb versions prior to 4.3
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 11e0201..f9bc253 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c
@@ -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);