diff options
| author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-03-03 12:09:59 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-03 12:09:59 (GMT) |
| commit | 00cf2a621a21357b09bc7ae6f0ce0b799b1fa17f (patch) | |
| tree | a5403a4f9239c005e557c03ab49c022e415f6864 /Python/pythonrun.c | |
| parent | 9643ce9019c9f01a0e5d773d3abddb79471fa19a (diff) | |
| download | cpython-00cf2a621a21357b09bc7ae6f0ce0b799b1fa17f.zip cpython-00cf2a621a21357b09bc7ae6f0ce0b799b1fa17f.tar.gz cpython-00cf2a621a21357b09bc7ae6f0ce0b799b1fa17f.tar.bz2 | |
[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 214562ed4ddc248b007f718ed92ebcc0c3669611)
---------
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
