os2: make platform error more ergonomic by making it an alias

This commit is contained in:
Laytan Laats
2024-08-22 22:59:13 +02:00
parent 142bda2804
commit b9043db434
4 changed files with 8 additions and 2 deletions
+2
View File
@@ -3,6 +3,8 @@ package os2
import "core:sys/linux"
_Platform_Error :: linux.Errno
@(rodata)
_errno_strings := [linux.Errno]string{
.NONE = "",