mirror of
https://github.com/ziglang/zig.git
synced 2026-01-28 18:25:26 +00:00
std.c: Added utsname struct definition for .macos (#21873)
This commit is contained in:
parent
ba5f57616f
commit
a99449d8be
@ -6017,6 +6017,13 @@ pub const utsname = switch (native_os) {
|
||||
machine: [256:0]u8,
|
||||
domainname: [256:0]u8,
|
||||
},
|
||||
.macos => extern struct {
|
||||
sysname: [256:0]u8,
|
||||
nodename: [256:0]u8,
|
||||
release: [256:0]u8,
|
||||
version: [256:0]u8,
|
||||
machine: [256:0]u8,
|
||||
},
|
||||
else => void,
|
||||
};
|
||||
pub const PR = switch (native_os) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user