go-waku/cmd/waku/sys_not_unix.go

12 lines
278 B
Go
Raw Normal View History

2023-05-24 15:34:35 +00:00
//go:build !linux && !darwin && !windows
2023-07-06 21:40:57 +00:00
package main
2023-05-24 15:34:35 +00:00
import "runtime"
// TODO: figure out how to get the number of file descriptors on Windows and other systems
func getNumFDs() int {
fmt.Println("cannot determine number of file descriptors on ", runtime.GOOS)
return 0
}