mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
Omit system namespace.
Co-Authored-By: Andrew Kelley <andrew@ziglang.org>
This commit is contained in:
parent
8e157ccb23
commit
08251fbc54
@ -134,7 +134,7 @@ fn getRandomBytesDevURandom(buf: []u8) !void {
|
||||
defer close(fd);
|
||||
|
||||
const st = try fstat(fd);
|
||||
if (!system.S_ISCHR(st.mode)) {
|
||||
if (!S_ISCHR(st.mode)) {
|
||||
return error.NoDevice;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user