std.c: haiku also supports malloc_usable_size to benefit zig's heap
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user