summaryrefslogtreecommitdiffstats
path: root/Modules/_sha3
diff options
context:
space:
mode:
authorsamypr100 <3933065+samypr100@users.noreply.github.com>2022-10-28 10:13:44 (GMT)
committerGitHub <noreply@github.com>2022-10-28 10:13:44 (GMT)
commitaf204e4c47babdefb307b3f25eb152732c73a533 (patch)
treeb9d35a6f3ade42bbf225856e313495984eccac07 /Modules/_sha3
parentdb1c3d6316f0239c6728ffcab48ee61903c8268a (diff)
downloadcpython-af204e4c47babdefb307b3f25eb152732c73a533.zip
cpython-af204e4c47babdefb307b3f25eb152732c73a533.tar.gz
cpython-af204e4c47babdefb307b3f25eb152732c73a533.tar.bz2
[3.10] GH-98671: bpo-46670: Fix #ifdef in sha3module.c (GH-90828) (#98677)
Diffstat (limited to 'Modules/_sha3')
-rw-r--r--Modules/_sha3/sha3module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c
index 3974e0b..a2f9d8c 100644
--- a/Modules/_sha3/sha3module.c
+++ b/Modules/_sha3/sha3module.c
@@ -65,7 +65,7 @@
#endif
/* Prevent bus errors on platforms requiring aligned accesses such ARM. */
-#if HAVE_ALIGNED_REQUIRED && !defined(NO_MISALIGNED_ACCESSES)
+#if defined(HAVE_ALIGNED_REQUIRED) && !defined(NO_MISALIGNED_ACCESSES)
#define NO_MISALIGNED_ACCESSES
#endif