mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[3.12] gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885) (#113068)
gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885)
The _obmalloc_usage structure is only defined if the obmalloc radix tree
is enabled.
(cherry picked from commit 890ce430d9
)
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
This commit is contained in:
parent
338a5a5f0b
commit
c34c9e3b9a
2 changed files with 3 additions and 0 deletions
|
@ -665,7 +665,9 @@ struct _obmalloc_global_state {
|
|||
struct _obmalloc_state {
|
||||
struct _obmalloc_pools pools;
|
||||
struct _obmalloc_mgmt mgmt;
|
||||
#if WITH_PYMALLOC_RADIX_TREE
|
||||
struct _obmalloc_usage usage;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix the build for the case that WITH_PYMALLOC_RADIX_TREE=0 set.
|
Loading…
Add table
Add a link
Reference in a new issue