mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
[3.13] gh-116984: Make mimalloc header includes relative to the current file (GH-118808) (#118866)
Some embedders and extensions include parts of the internal API. The
pycore_mimalloc.h file is transitively include by a number of other
internal headers. This avoids include errors for code that was
already including those headers.
(cherry picked from commit 71cc0651e7)
Co-authored-by: Sam Gross <colesbury@gmail.com>
This commit is contained in:
parent
846cfb9a67
commit
0a23970478
4 changed files with 9 additions and 6 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Make mimalloc includes relative to the current file to avoid embedders or
|
||||
extensions needing to include ``Internal/mimalloc`` if they are already
|
||||
including internal CPython headers.
|
||||
Loading…
Add table
Add a link
Reference in a new issue