From e0b78476c584ccee4dcccbdecf8805929c82e545 Mon Sep 17 00:00:00 2001 From: Isaac Andrade Date: Fri, 23 Aug 2024 20:18:26 -0600 Subject: [PATCH] Fix else when clause. --- core/sys/posix/sys_stat.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sys/posix/sys_stat.odin b/core/sys/posix/sys_stat.odin index 5760175b1..aa3737361 100644 --- a/core/sys/posix/sys_stat.odin +++ b/core/sys/posix/sys_stat.odin @@ -427,8 +427,8 @@ when ODIN_OS == .Darwin { UTIME_NOW :: -2 UTIME_OMIT :: -1 -} when ODIN_OS == .Linux { - ino_t :: distinct c.unit64_t +} else when ODIN_OS == .Linux { + ino_t :: distinct c.unit64_t ino_t32 :: distinct c.unit32_t } else { #panic("posix is unimplemented for the current target")