ios
ios copied to clipboard
Add support for Windows
Currently Ios only builds Linux due to use of syscalls such as Fallocate, Fdatasync and directI/O
Attempting to build on windows gives:
# github.com/heidi-ann/ios/unix
go\src\github.com\heidi-ann\ios\unix\persist.go:162: undefined: openWriteAheadFile
@hesthorp could you try it again now?
I now get:
# github.com/heidi-ann/ios/unix
go\src\github.com\heidi-ann\ios\unix\wal_unsupported.go:22: cannot assign syscall.Handle to file (type int) in multiple assignment
go\src\github.com\heidi-ann\ios\unix\wal_unsupported.go:37: cannot use w.fd (type int) as type syscall.Handle in argument to syscall.Write
go\src\github.com\heidi-ann\ios\unix\wal_unsupported.go:42: cannot use w.fd (type int) as type syscall.Handle in argument to syscall.Fsync
@hesthorp could you try this again?