mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 18:53:07 +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;
|
||||
} 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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user