authorgravatar for devnexen@gmail.comDavid Carlier <devnexen@gmail.com> 2023-06-24 11:02:46+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-06-24 13:00:14-07:00
logea1d64dae4bb34d62e9cfddf7e3da493ed8063e9
treeac4020783571d4d9d94eb1a53df1b9984d566b52
parente9dd0a22f0d93683f97db747be53d8d2d21c3543

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

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/c/darwin.zig+1-1
...@@ -4073,7 +4073,7 @@ pub const HOST = struct {...@@ -4073,7 +4073,7 @@ pub const HOST = struct {
4073 pub const EXTMOD_INFO64_COUNT = HostCount(vm_extmod_statistics_data_t);4073 pub const EXTMOD_INFO64_COUNT = HostCount(vm_extmod_statistics_data_t);
4074};4074};
40754075
4076pub const host_basic_info = packed struct(u32) {4076pub const host_basic_info = extern struct {
4077 max_cpus: integer_t,4077 max_cpus: integer_t,
4078 avail_cpus: integer_t,4078 avail_cpus: integer_t,
4079 memory_size: natural_t,4079 memory_size: natural_t,