aboutsummaryrefslogtreecommitdiff
path: root/lib/std/c/darwin.zig
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2023-06-24 11:02:46 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-06-24 13:00:14 -0700
commitea1d64dae4bb34d62e9cfddf7e3da493ed8063e9 (patch)
treeac4020783571d4d9d94eb1a53df1b9984d566b52 /lib/std/c/darwin.zig
parente9dd0a22f0d93683f97db747be53d8d2d21c3543 (diff)
downloadzig-ea1d64dae4bb34d62e9cfddf7e3da493ed8063e9.tar.gz
zig-ea1d64dae4bb34d62e9cfddf7e3da493ed8063e9.zip
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
Diffstat (limited to 'lib/std/c/darwin.zig')
-rw-r--r--lib/std/c/darwin.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig
index b680a97933..6dd517eada 100644
--- a/lib/std/c/darwin.zig
+++ b/lib/std/c/darwin.zig
@@ -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,