[Python-checkins] gh-102027: Fix macro name (#102124)

Yhg1s webhook-mailer at python.org
Wed Mar 22 09:45:11 EDT 2023


https://github.com/python/cpython/commit/ea93bde4ece139d4152a59f2c38aa6568559447c
commit: ea93bde4ece139d4152a59f2c38aa6568559447c
branch: main
author: Max Bachmann <kontakt at maxbachmann.de>
committer: Yhg1s <thomas at python.org>
date: 2023-03-22T14:44:28+01:00
summary:

gh-102027: Fix macro name (#102124)

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

Co-authored-by: Oleg Iarygin <oleg at arhadthedev.net>

files:
A Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst
M 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
index 000000000000..42d96b54677e
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst	
@@ -0,0 +1,2 @@
+Fix SSE2 and SSE3 detection in ``_blake2`` internal module. Patch by Max
+Bachmann.
diff --git a/Modules/_blake2/impl/blake2-config.h b/Modules/_blake2/impl/blake2-config.h
index f5dd6faa9e68..c09cb4bcf067 100644
--- a/Modules/_blake2/impl/blake2-config.h
+++ b/Modules/_blake2/impl/blake2-config.h
@@ -53,7 +53,7 @@
 #endif
 #endif
 
-#ifdef HAVE_SSE41
+#ifdef HAVE_SSE4_1
 #ifndef HAVE_SSSE3
 #define HAVE_SSSE3
 #endif



More information about the Python-checkins mailing list