a-palchikov / sqlago

Sybase Anywhere driver for Go
Other
18 stars 11 forks source link

undefined: syscall.MustLoadDLL #1

Open ghost opened 8 years ago

ghost commented 8 years ago

Trying to use this on MacOsX gives me an error? are there any fixes for this just yet?

go build

github.com/a-palchikov/sqlago

../../gopath/src/github.com/a-palchikov/sqlago/dbcapi.go:222: undefined: syscall.MustLoadDLL ../../gopath/src/github.com/a-palchikov/sqlago/dbcapi.go:346: too many arguments in call to syscall.Syscall

a-palchikov commented 8 years ago

@ivank2139 Hey, sorry for noticing this issue late. This is a windows-based library and no attempts were made to make it portable. What version of Sybase are you trying to use it with?

bensinos commented 8 years ago

The some problem for MacOsX,Hope fast fix this problem,Thank you for us.

Swifto0 commented 1 year ago

syscall only can be used on Windows, dont compile it on Macos.