diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-03-24 05:40:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 13:40:32 +0100 |
commit | 581dd8caba692f58087bb7beca7fc42f2eddfdda (patch) | |
tree | 63d51fe2d52e16d199e7cbc7093f6af0bde5b2be | |
parent | 0a2b63f6adfa010fa9b18c1deaac4e738bb99c84 (diff) | |
download | cpython-git-581dd8caba692f58087bb7beca7fc42f2eddfdda.tar.gz |
[3.10] gh-102027: Fix macro name (GH-102124) (#102917)
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>
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-02-21-23-42-39.gh-issue-102027.fQARG0.rst | 2 | ||||
-rw-r--r-- | Modules/_blake2/impl/blake2-config.h | 2 |
2 files changed, 3 insertions, 1 deletions
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 0000000000..42d96b5467 --- /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 f5dd6faa9e..c09cb4bcf0 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 |