cpython/Modules/_blake2
Bénédikt Tran 00cf2a621a
[3.13] gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738) (#130756)
gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738)

Move some `#include <stdbool.h>` after `#include "Python.h"` when `pyconfig.h` is not
included first and when we are in a platform-agnostic context. This is to avoid having
features defined by `stdbool.h` before those decided by `Python.h` (this caused some
build failures when compiling CPython with `zig cc`).

(cherry-picked from commit 214562ed4d)

---------

Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2025-03-03 13:09:59 +01:00
..
clinic gh-67565: Remove redundant C-contiguity checks (GH-105521) 2023-10-23 12:54:46 +03:00
impl gh-116116: Backport blake2 change to fix building with clang-cl on windows-i686 (GH-116117) 2024-03-04 16:59:57 +00:00
blake2b2s.py Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
blake2b_impl.c [3.13] gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738) (#130756) 2025-03-03 13:09:59 +01:00
blake2module.c gh-116322: Add Py_mod_gil module slot (#116882) 2024-05-03 11:30:55 -04:00
blake2module.h Trim trailing whitespace and test on CI (#104275) 2023-05-08 17:03:52 +03:00
blake2s_impl.c [3.13] gh-130740: Move some `stdbool.h` includes after `Python.h` (#130738) (#130756) 2025-03-03 13:09:59 +01:00