mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-13 07:14:10 +00:00
12 lines
278 B
Go
12 lines
278 B
Go
//go:build !linux && !darwin && !windows
|
|
|
|
package main
|
|
|
|
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
|
|
}
|