Make os.get_last_error contextless

This commit is contained in:
gingerBill
2022-12-08 16:04:03 +00:00
parent b8eacfc7b6
commit ffe953b43d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ is_path_separator :: proc(r: rune) -> bool {
return r == '/'
}
get_last_error :: proc() -> int {
get_last_error :: proc "contextless" () -> int {
return __errno_location()^
}