From ee9b095f4eba6742288eae5e5fcf02f949e7e380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Oct 2026 20:25:39 +0200 Subject: [PATCH] std.c: fix RTLD layout for serenity --- lib/std/c.zig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index 92d45f0b1c0790c0e1c99185faa8a4de08feef9f..e88e3d94975386742b26e0d389c812c0ec1ad419 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -7337,13 +7337,12 @@ pub const RTLD = switch (native_os) { }, // https://github.com/SerenityOS/serenity/blob/36a26d7fa80bc9c72b19442912d8967f448368ff/Userland/Libraries/LibC/dlfcn.h#L13-L17 .serenity => packed struct(c_int) { - DEFAULT: bool = false, - _1: u1, + _0: u1, LAZY: bool = false, NOW: bool = false, GLOBAL: bool = false, LOCAL: bool = false, - _: @Int(.unsigned, @bitSizeOf(c_int) - 6) = 0, + _: @Int(.unsigned, @bitSizeOf(c_int) - 5) = 0, }, else => void, }; -- 2.54.0