mirror of
https://github.com/ziglang/zig.git
synced 2026-10-14 10:27:43 -04:00
std.posix: add some more void bits
prevents unnecessary compilation errors on wasm32-freestanding
This commit is contained in:
1 parent
517cfb0dd1
commit
d36c182748
1 file changed
+5
@@ -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;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user