| ... | @@ -8005,8 +8005,9 @@ pub const pthread_rwlock_t = switch (native_os) { | ... | @@ -8005,8 +8005,9 @@ pub const pthread_rwlock_t = switch (native_os) { |
| 8005 | .netbsd => extern struct { | 8005 | .netbsd => extern struct { |
| 8006 | magic: c_uint = 0x99990009, | 8006 | magic: c_uint = 0x99990009, |
| 8007 | interlock: switch (builtin.cpu.arch) { | 8007 | interlock: switch (builtin.cpu.arch) { |
| 8008 | .aarch64, .sparc, .x86_64, .x86 => u8, | 8008 | .aarch64, .aarch64_be, .m68k, .sparc, .sparc64, .x86, .x86_64 => u8, |
| 8009 | .arm, .powerpc => c_int, | 8009 | .arm, .armeb, .powerpc => c_int, |
| | 8010 | .mips, .mipsel, .mips64, .mips64el => c_uint, |
| 8010 | else => unreachable, | 8011 | else => unreachable, |
| 8011 | } = 0, | 8012 | } = 0, |
| 8012 | rblocked_first: ?*u8 = null, | 8013 | rblocked_first: ?*u8 = null, |