mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Fix windows access check
This commit is contained in:
1 parent
03bec631bd
commit
fe9489ad63
1 file changed
+1
-1
+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