vendor-cleanup #10
Vendored
+879
-973
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+2
-2
@@ -164,8 +164,6 @@
|
||||
*/
|
||||
package lmdb
|
||||
|
||||
foreign import lib "system:lmdb"
|
||||
|
||||
import "core:c"
|
||||
import "core:fmt"
|
||||
import "core:reflect"
|
||||
@@ -273,10 +271,12 @@ panic_on_err :: #force_inline proc(error: Error, loc := #caller_location) {
|
||||
_ :: c
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
#panic("TODO: Compile windows .lib for lmdb")
|
||||
mode_t :: c.int
|
||||
filehandle_t :: rawptr
|
||||
} else when ODIN_OS ==
|
||||
.Linux || ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .OpenBSD || ODIN_OS == .NetBSD {
|
||||
foreign import lib "system:lmdb"
|
||||
mode_t :: posix.mode_t
|
||||
filehandle_t :: c.int
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user