diff options
| author | Georg Brandl <georg@python.org> | 2009-04-05 11:07:14 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-04-05 11:07:14 (GMT) |
| commit | d3eaa745a95c814061fd5962d9d887ea5b2af9f0 (patch) | |
| tree | 86fd636718f9c132ae1e850b91e2b6e4c9b27de5 /Modules/_sqlite/module.c | |
| parent | 1e566cec6f8093018cf8fd1870124c0abd11a6cd (diff) | |
| download | cpython-d3eaa745a95c814061fd5962d9d887ea5b2af9f0.zip cpython-d3eaa745a95c814061fd5962d9d887ea5b2af9f0.tar.gz cpython-d3eaa745a95c814061fd5962d9d887ea5b2af9f0.tar.bz2 | |
#5615: make it possible to configure --without-threads again.
Diffstat (limited to 'Modules/_sqlite/module.c')
| -rw-r--r-- | Modules/_sqlite/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ PyMODINIT_FUNC init_sqlite3(void) * 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()) |
