Browse Source

Fix else when clause.

Isaac Andrade 1 year ago
parent
commit
e0b78476c5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/sys/posix/sys_stat.odin

+ 2 - 2
core/sys/posix/sys_stat.odin

@@ -427,8 +427,8 @@ when ODIN_OS == .Darwin {
 	UTIME_NOW  :: -2
 	UTIME_NOW  :: -2
 	UTIME_OMIT :: -1
 	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
 	ino_t32 :: distinct c.unit32_t
 } else {
 } else {
 	#panic("posix is unimplemented for the current target")
 	#panic("posix is unimplemented for the current target")