Prechádzať zdrojové kódy

Fix else when clause.

Isaac Andrade 1 rok pred
rodič
commit
e0b78476c5
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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_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")