commit | 7cd97fcf6ec35c828920bbbb66d4693d63046b09 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Wed Jul 31 11:58:41 2013 +0200 |
committer | Christian Heimes <christian@cheimes.de> | Wed Jul 31 11:58:41 2013 +0200 |
tree | 9b3469465b753b95d11a528aff5ac1eb293e0e92 | |
parent | 6ffa5ce1f3daad9dc7beb5b74444f74d5c4a9538 [diff] | |
parent | 92e2a220ef3d5d8250bbd7aa7e2768ee220c95dd [diff] |
merge
diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c index 32cd85a..0f47fc3 100644 --- a/Modules/_sha3/sha3module.c +++ b/Modules/_sha3/sha3module.c
@@ -322,7 +322,7 @@ GET_BUFFER_VIEW_OR_ERROUT(obj, &buf); /* add new data, the function takes the length in bits not bytes */ -#ifdef WITH_THREADS +#ifdef WITH_THREAD if (self->lock == NULL && buf.len >= HASHLIB_GIL_MINSIZE) { self->lock = PyThread_allocate_lock(); }