Browse Source

Fix os_haiku.odin (again)

avanspector 7 months ago
parent
commit
a20d85df1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os_haiku.odin

+ 1 - 1
core/os/os_haiku.odin

@@ -16,7 +16,7 @@ _Platform_Error :: haiku.Errno
 
 
 MAX_PATH :: haiku.PATH_MAX
 MAX_PATH :: haiku.PATH_MAX
 
 
-ENOSYS :: _Platform_Error(i32(haiku.Errno.POSIX_ERROR_BASE) + 9)
+ENOSYS :: _Platform_Error(haiku.Errno.ENOSYS)
 
 
 INVALID_HANDLE :: ~Handle(0)
 INVALID_HANDLE :: ~Handle(0)