diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-19 11:35:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-19 11:35:22 -0700 |
| commit | 01337e209366bf7eed9a8aca0b80be0e8c9c04f5 (patch) | |
| tree | 82d84ded03cf82eca3662acc1b16b100964937b4 /lib/std/os/linux/mips64.zig | |
| parent | 7157189143e83dedb29d25553d2841ff2576dc5c (diff) | |
| download | zig-01337e209366bf7eed9a8aca0b80be0e8c9c04f5.tar.gz zig-01337e209366bf7eed9a8aca0b80be0e8c9c04f5.zip | |
fix regression of flock being called on wasi targets
* common symbols are now public from std.c even if they live in
std.posix
* LOCK is now one of the common symbols since it is the same on 100% of
operating systems.
* flock is now void value on wasi and windows
* std.fs.Dir now uses flock being void as feature detection, avoiding
trying to call it on wasi and windows
Diffstat (limited to 'lib/std/os/linux/mips64.zig')
| -rw-r--r-- | lib/std/os/linux/mips64.zig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/std/os/linux/mips64.zig b/lib/std/os/linux/mips64.zig index 43b1e1ad95..9be0f41c4f 100644 --- a/lib/std/os/linux/mips64.zig +++ b/lib/std/os/linux/mips64.zig @@ -224,13 +224,6 @@ pub const F = struct { pub const GETOWNER_UIDS = 17; }; -pub const LOCK = struct { - pub const SH = 1; - pub const EX = 2; - pub const UN = 8; - pub const NB = 4; -}; - pub const MMAP2_UNIT = 4096; pub const VDSO = struct { |
