mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std.c: fix host_basic_info definition for darwin.
follow-up on ff59c45.
ref: a5e15eced0/lib/libc/include/any-macos-any/mach/host_info.h (L116)
This commit is contained in:
parent
e9dd0a22f0
commit
ea1d64dae4
@ -4073,7 +4073,7 @@ pub const HOST = struct {
|
||||
pub const EXTMOD_INFO64_COUNT = HostCount(vm_extmod_statistics_data_t);
|
||||
};
|
||||
|
||||
pub const host_basic_info = packed struct(u32) {
|
||||
pub const host_basic_info = extern struct {
|
||||
max_cpus: integer_t,
|
||||
avail_cpus: integer_t,
|
||||
memory_size: natural_t,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user