mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
std.posix: add some more void bits
prevents unnecessary compilation errors on wasm32-freestanding
This commit is contained in:
parent
517cfb0dd1
commit
d36c182748
@ -47,6 +47,11 @@ else switch (native_os) {
|
||||
.plan9 => std.os.plan9,
|
||||
else => struct {
|
||||
pub const ucontext_t = void;
|
||||
pub const pid_t = void;
|
||||
pub const pollfd = void;
|
||||
pub const fd_t = void;
|
||||
pub const uid_t = void;
|
||||
pub const gid_t = void;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user