commit | d3eaa745a95c814061fd5962d9d887ea5b2af9f0 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Apr 05 11:07:14 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Apr 05 11:07:14 2009 +0000 |
tree | 86fd636718f9c132ae1e850b91e2b6e4c9b27de5 | |
parent | 1e566cec6f8093018cf8fd1870124c0abd11a6cd [diff] [blame] |
#5615: make it possible to configure --without-threads again.
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index cd28609..c16b7c7 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c
@@ -445,7 +445,9 @@ * threads have already been initialized. * (see pybsddb-users mailing list post on 2002-08-07) */ +#ifdef WITH_THREAD PyEval_InitThreads(); +#endif error: if (PyErr_Occurred())