| ... | @@ -7900,6 +7900,14 @@ pub const Stat = switch (native_os) { | ... | @@ -7900,6 +7900,14 @@ pub const Stat = switch (native_os) { |
| 7900 | | 7900 | |
| 7901 | pub const pthread_spinlock_t = switch (native_os) { | 7901 | pub const pthread_spinlock_t = switch (native_os) { |
| 7902 | .openbsd => openbsd.pthread_spinlock_t, | 7902 | .openbsd => openbsd.pthread_spinlock_t, |
| | 7903 | .freebsd => extern struct { |
| | 7904 | inner: ?*anyopaque = null, |
| | 7905 | }, |
| | 7906 | .netbsd => extern struct { |
| | 7907 | pts_magic: c_uint, |
| | 7908 | spin: pthread_spin_t, |
| | 7909 | pts_flags: c_int, |
| | 7910 | }, |
| 7903 | .windows => isize, | 7911 | .windows => isize, |
| 7904 | else => c_int, | 7912 | else => c_int, |
| 7905 | }; | 7913 | }; |