Browse Source

use distinct type for fpos_t on OpenBSD

Sébastien Marie 3 years ago
parent
commit
f7c8b40ea2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/c/libc/stdio.odin

+ 1 - 1
core/c/libc/stdio.odin

@@ -79,7 +79,7 @@ when ODIN_OS == .Linux {
 }
 
 when ODIN_OS == .OpenBSD {
-	fpos_t :: i64
+	fpos_t :: distinct i64
 
 	_IOFBF :: 0
 	_IOLBF :: 1