vendor-cleanup #10

Merged
zack merged 2 commits from vendor-cleanup into master 2026-04-22 04:48:00 +00:00
8 changed files with 881 additions and 975 deletions
Showing only changes of commit 20b9360925 - Show all commits
+879 -973
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -164,8 +164,6 @@
*/ */
package lmdb package lmdb
foreign import lib "system:lmdb"
import "core:c" import "core:c"
import "core:fmt" import "core:fmt"
import "core:reflect" import "core:reflect"
@@ -273,10 +271,12 @@ panic_on_err :: #force_inline proc(error: Error, loc := #caller_location) {
_ :: c _ :: c
when ODIN_OS == .Windows { when ODIN_OS == .Windows {
#panic("TODO: Compile windows .lib for lmdb")
mode_t :: c.int mode_t :: c.int
filehandle_t :: rawptr filehandle_t :: rawptr
} else when ODIN_OS == } else when ODIN_OS ==
.Linux || ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .OpenBSD || ODIN_OS == .NetBSD { .Linux || ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .OpenBSD || ODIN_OS == .NetBSD {
foreign import lib "system:lmdb"
mode_t :: posix.mode_t mode_t :: posix.mode_t
filehandle_t :: c.int filehandle_t :: c.int
} else { } else {