mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
netbsd: std.c: fix pthread_rwlock_t
- make .owner field optional
This commit is contained in:
parent
bac3c2748f
commit
4532ff2780
@ -93,7 +93,7 @@ pub const pthread_rwlock_t = extern struct {
|
||||
wblocked_first: ?*u8 = null,
|
||||
wblocked_last: ?*u8 = null,
|
||||
nreaders: c_uint = 0,
|
||||
owner: std.c.pthread_t = null,
|
||||
owner: ?std.c.pthread_t = null,
|
||||
private: ?*anyopaque = null,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user