mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 05:53:12 +00:00
add .ENOSYS == .Unsupported for posix too
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user