Browse Source

Merge pull request #1614 from semarie/openbsd-fpos_t

use distinct type for fpos_t on OpenBSD
gingerBill 3 years ago
parent
commit
743a461aa9
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