add .ENOSYS == .Unsupported for posix too

This commit is contained in:
Laytan
2024-10-04 13:52:54 +02:00
parent 424dc590a3
commit 59086a24a1

View File

@@ -26,6 +26,8 @@ _get_platform_error :: proc() -> Error {
return .Invalid_File
case .ENOMEM:
return .Out_Of_Memory
case .ENOSYS:
return .Unsupported
case:
return Platform_Error(errno)
}