mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
c1652d6d62
commit
890ce430d9
|
@ -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…
Reference in New Issue