]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46670: Fix #ifdef in sha3module.c (GH-31180)
authorVictor Stinner <vstinner@python.org>
Mon, 7 Feb 2022 15:22:24 +0000 (16:22 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 15:22:24 +0000 (16:22 +0100)
commitf20ca766fe404a20daea29230f161a0eb71bb489
tree0c3f278f2eea61527975686294f9be16daedda30
parent7d8b69e1d1f125454d8cec81ff0dee72f2bef957
bpo-46670: Fix #ifdef in sha3module.c (GH-31180)

* Test if HAVE_ALIGNED_REQUIRED is defined, not its value.
* Define explicitly NOT_PYTHON macro to 0.

Fix "gcc -Wundef" warnings.
Modules/_sha3/sha3module.c