Browse Source

Fix ino_t and ino_t32 types for POSIX linux.

Isaac Andrade 1 year ago
parent
commit
7d94810d01
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

@@ -428,8 +428,8 @@ when ODIN_OS == .Darwin {
 	UTIME_OMIT :: -1
 
 } else when ODIN_OS == .Linux {
-	ino_t   :: distinct c.unit64_t
-	ino_t32 :: distinct c.unit32_t
+	ino_t   :: distinct u64
+	ino_t32 :: distinct u32
 } else {
 	#panic("posix is unimplemented for the current target")
 }