mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +00:00
Fix windows access check
This commit is contained in:
parent
03bec631bd
commit
fe9489ad63
@ -112,7 +112,7 @@ pub const File = struct {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (is_windows) {
|
} else if (is_windows) {
|
||||||
if (os.windows.PathFileExists(path_with_null.ptr)) {
|
if (os.windows.PathFileExists(path_with_null.ptr) == os.windows.TRUE) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user