authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-15 02:56:36+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
logc33e6e09520327d7042ff512329a654736134e54
treee04ecca53f88c82484e728c49d4a5a24ec356ff9
parenteb61353d59b104537cbcd4914614eba5cdfa7f3f
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: fix pthread_attr_t layout for dragonfly


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/c.zig+2-2
...@@ -8196,7 +8196,7 @@ pub const pthread_rwlock_t = switch (native_os) {...@@ -8196,7 +8196,7 @@ pub const pthread_rwlock_t = switch (native_os) {
8196};8196};
81978197
8198pub const pthread_attr_t = switch (native_os) {8198pub const pthread_attr_t = switch (native_os) {
8199 .linux, .emscripten, .dragonfly => extern struct {8199 .linux, .emscripten => extern struct {
8200 __size: [56]u8,8200 __size: [56]u8,
8201 __align: c_long,8201 __align: c_long,
8202 },8202 },
...@@ -8205,7 +8205,7 @@ pub const pthread_attr_t = switch (native_os) {...@@ -8205,7 +8205,7 @@ pub const pthread_attr_t = switch (native_os) {
8205 __opaque: [56]u8,8205 __opaque: [56]u8,
8206 },8206 },
8207 // https://github.com/SerenityOS/serenity/blob/b98f537f117b341788023ab82e0c11ca9ae29a57/Kernel/API/POSIX/sys/types.h#L758207 // https://github.com/SerenityOS/serenity/blob/b98f537f117b341788023ab82e0c11ca9ae29a57/Kernel/API/POSIX/sys/types.h#L75
8208 .freebsd, .haiku, .openbsd, .serenity => extern struct {8208 .dragonfly, .freebsd, .haiku, .openbsd, .serenity => extern struct {
8209 inner: ?*anyopaque = null,8209 inner: ?*anyopaque = null,
8210 },8210 },
8211 .illumos => extern struct {8211 .illumos => extern struct {