mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.c: fix host_basic_info definition for darwin.
follow-up on ff59c45.
ref: https://github.com/ziglang/zig/blob/a5e15eced0e9cb00871966ede74eed9b3a07183c/lib/libc/include/any-macos-any/mach/host_info.h#L116
This commit is contained in:
committed by
Andrew Kelley
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,
|
||||
|
||||
Reference in New Issue
Block a user