mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 03:40:08 +00:00
add support for linux_riscv64 and freestanding_riscv64
This commit is contained in:
@@ -12,6 +12,8 @@ _stderr_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) {
|
||||
SYS_write :: uintptr(4)
|
||||
} else when ODIN_ARCH == .arm32 {
|
||||
SYS_write :: uintptr(4)
|
||||
} else when ODIN_ARCH == .riscv64 {
|
||||
SYS_write :: uintptr(64)
|
||||
}
|
||||
|
||||
stderr :: 2
|
||||
|
||||
Reference in New Issue
Block a user