Skip to content

Commit 2516a1a

Browse files
committed
Fix build error in default build.
1 parent ebd5980 commit 2516a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/obmalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ should_advance_qsbr_for_page(struct _qsbr_thread_state *qsbr, mi_page_t *page)
151151
}
152152
return false;
153153
}
154-
#endif
155154

156155
static _PyThreadStateImpl *
157156
tstate_from_heap(mi_heap_t *heap)
158157
{
159158
return _Py_CONTAINER_OF(heap->tld, _PyThreadStateImpl, mimalloc.tld);
160159
}
160+
#endif
161161

162162
static bool
163163
_PyMem_mi_page_maybe_free(mi_page_t *page, mi_page_queue_t *pq, bool force)

0 commit comments

Comments
 (0)