commit | dfd734429ec24b6d55b11f48afe4a9bc8f3db730 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Apr 05 11:47:34 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Apr 05 11:47:34 2009 +0000 |
tree | 69e87b57ac63973e280d9b62c380d1ec09b60bf4 | |
parent | 0c0daf059bbc63047c7d0821f6e9caa161a17de0 [diff] [blame] |
Merge revision 71222 from trunk: #5615: make it possible to configure --without-threads again.
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index 5c541fd..8e54699 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c
@@ -459,7 +459,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())