Fix windows build by moving references to SIGUSR2 into a file not built (#6422)

on windows.
This commit is contained in:
ncabatoff
2019-03-15 13:12:48 -04:00
committed by Brian Kassouf
parent 9fb7285030
commit e6cadbf7b1
3 changed files with 34 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
// +build windows
package command
// MakeSigUSR2Ch does nothing useful on Windows.
func MakeSigUSR2Ch() chan struct{} {
return make(chan struct{})
}