mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
Fix windows access check
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user