Add stubs for flush on platforms that didn't have it

This commit is contained in:
gingerBill
2024-08-04 15:07:24 +01:00
parent acb1ebddf6
commit bf948ab8ae
8 changed files with 38 additions and 6 deletions
+5
View File
@@ -502,6 +502,11 @@ close :: proc(fd: Handle) -> Error {
return nil
}
flush :: proc(fd: Handle) -> Error {
// do nothing
return nil
}
// We set a max of 1GB to keep alignment and to be safe.
@(private)
MAX_RW :: 1 << 30