Skip to content

Commit

Permalink
pythongh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0
Browse files Browse the repository at this point in the history
The _obmalloc_usage structure is only defined if the obmalloc radix tree
is enabled.
  • Loading branch information
nascheme committed Dec 8, 2023
1 parent d4a6229 commit 97c486e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Include/internal/pycore_obmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};


Expand Down

0 comments on commit 97c486e

Please sign in to comment.