-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't this project build in Windows? #35
Comments
cye1024++ |
any solutions? |
so am i github.com/fvbock/endless..\github.com\fvbock\endless\endless.go:64:3: undefined: syscall.SIGUSR1 |
is there solution for windows |
any solution for windows ? |
Solution shared by one of our devs https://developpaper.com/using-endless-in-windows-undefined-syscall-sigusr1/ Inside: var signals = [...]string{
//Omit line n here....
/**Compatible with Windows start*/
16: "SIGUSR1",
17: "SIGUSR2",
18: "SIGTSTP",
/**Compatible with windows end*/
}
/**Compatible with Windows start*/
func Kill(...interface{}) {
return;
}
const (
SIGUSR1 = Signal(0x10)
SIGUSR2 = Signal(0x11)
SIGTSTP = Signal(0x12)
)
/**Compatible with windows end*/ |
I add endless to my project.
and i build it in windows env.
then it show this:
The text was updated successfully, but these errors were encountered: