From ac277ef99ed3caab470da12c52ba756f778d9e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Oct 2026 20:08:04 +0200 Subject: [PATCH] std.c: serenity does not have malloc_usable_size() --- lib/std/c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index 0e9073f4d1c1ea3a08559e76c704b11cc9d92039..bcfbccccd44f9ed131c91ad36e1cf7e5d60de4a2 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -10845,7 +10845,7 @@ pub const malloc_size = switch (native_os) { else => {}, }; pub const malloc_usable_size = switch (native_os) { - .freebsd, .linux, .serenity => private.malloc_usable_size, + .freebsd, .linux => private.malloc_usable_size, else => {}, }; pub const posix_memalign = switch (native_os) { -- 2.54.0