std.c: haiku also supports malloc_usable_size to benefit zig's heap

This commit is contained in:
David Carlier 2023-05-26 12:05:19 +00:00
parent 41502c6aa5
commit a3eb950423

View File

@ -1071,3 +1071,5 @@ pub const sigevent = extern struct {
/// TODO refines if necessary
pub const PTHREAD_STACK_MIN = 2 * 4096;
pub extern "c" fn malloc_usable_size(?*anyopaque) usize;