Skip to content

Commit 52fc046

Browse files
e0ffandrewrk
authored andcommitted
std.c: fix pthread_mutex_t size for x86_64-linux-gnu
1 parent b7a98d0 commit 52fc046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/c.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6750,7 +6750,7 @@ pub const pthread_mutex_t = switch (native_os) {
67506750
.musl, .musleabi, .musleabihf => if (@sizeOf(usize) == 8) 40 else 24,
67516751
.gnu, .gnuabin32, .gnuabi64, .gnueabi, .gnueabihf, .gnux32 => switch (native_arch) {
67526752
.aarch64 => 48,
6753-
.x86_64 => if (native_abi == .gnux32) 40 else 32,
6753+
.x86_64 => if (native_abi == .gnux32) 32 else 40,
67546754
.mips64, .powerpc64, .powerpc64le, .sparc64 => 40,
67556755
else => if (@sizeOf(usize) == 8) 40 else 24,
67566756
},

0 commit comments

Comments
 (0)