go-waku/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
package waku
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
}