Correct EOF value

This commit is contained in:
gingerBill
2024-08-04 13:20:33 +01:00
parent cf5ec25873
commit 0c5b645dde
3 changed files with 2 additions and 7 deletions
-5
View File
@@ -60,11 +60,6 @@ _file_stream_proc :: proc(stream_data: rawptr, mode: io.Stream_Mode, p: []byte,
}
if err == nil && os_err != nil {
when ODIN_OS == .Windows {
if os_err == ERROR_HANDLE_EOF {
return n, .EOF
}
}
err = error_to_io_error(os_err)
}
return