]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-102027: Fix macro name (GH-102124) (#102916)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Mar 2023 12:40:22 +0000 (05:40 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2023 12:40:22 +0000 (13:40 +0100)
gh-102027: Fix macro name (GH-102124)

This fixes the ssse3 / sse2 detection when sse4 is available.

(cherry picked from commit ea93bde4ece139d4152a59f2c38aa6568559447c)

Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst [new file with mode: 0644]
Modules/_blake2/impl/blake2-config.h

diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst b/Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst
new file mode 100644 (file)
index 0000000..42d96b5
--- /dev/null
@@ -0,0 +1,2 @@
+Fix SSE2 and SSE3 detection in ``_blake2`` internal module. Patch by Max
+Bachmann.
index f5dd6faa9e6867f743a29c99b4f94b86322a5d2d..c09cb4bcf0672311626aa7cd162376e5aa1afd9d 100644 (file)
@@ -53,7 +53,7 @@
 #endif
 #endif
 
-#ifdef HAVE_SSE41
+#ifdef HAVE_SSE4_1
 #ifndef HAVE_SSSE3
 #define HAVE_SSSE3
 #endif