ios icon indicating copy to clipboard operation
ios copied to clipboard

Add support for Windows

Open heidihoward opened this issue 9 years ago • 4 comments

Currently Ios only builds Linux due to use of syscalls such as Fallocate, Fdatasync and directI/O

heidihoward avatar Mar 13 '17 10:03 heidihoward

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 avatar Mar 16 '17 08:03 hesthorp

@hesthorp could you try it again now?

heidihoward avatar Mar 16 '17 08:03 heidihoward

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 avatar Mar 16 '17 08:03 hesthorp

@hesthorp could you try this again?

heidihoward avatar Mar 16 '17 09:03 heidihoward